diff options
author | Ryan Johnson <rjohnson@mozilla.com> | 2021-04-29 16:16:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 16:16:42 -0700 |
commit | 95aca4b4d8fa62815d4bd412fff1a364f842814a (patch) | |
tree | 5e57661720fe9058d5c7db637e764800b50f9060 /files/pt-pt/web/api/webglrenderingcontext | |
parent | ee3b1c87e3c8e72ca130943eed260ad642246581 (diff) | |
download | translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.gz translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.bz2 translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.zip |
remove retired locales (#699)
Diffstat (limited to 'files/pt-pt/web/api/webglrenderingcontext')
-rw-r--r-- | files/pt-pt/web/api/webglrenderingcontext/index.html | 444 |
1 files changed, 0 insertions, 444 deletions
diff --git a/files/pt-pt/web/api/webglrenderingcontext/index.html b/files/pt-pt/web/api/webglrenderingcontext/index.html deleted file mode 100644 index e1558755ca..0000000000 --- a/files/pt-pt/web/api/webglrenderingcontext/index.html +++ /dev/null @@ -1,444 +0,0 @@ ---- -title: WebGLRenderingContext -slug: Web/API/WebGLRenderingContext -tags: - - WebGL - - WebGLRenderingContext -translation_of: Web/API/WebGLRenderingContext ---- -<div>{{APIRef("WebGL")}}</div> - -<p>A interface de <code><strong>WebGLRenderingContext</strong></code> fornece o contexto de renderização de OpenGL ES 2.0 para a superfície de desenho de um elemento {{HTMLElement("canvas")}} de HTML.</p> - -<p>Para obter um objeto desta interface, <em>call</em> {{domxref("HTMLCanvasElement.getContext()", "getContext()")}} num elemento de <code><canvas></code>, fornecendo "webgl" como um argumento:</p> - -<pre class="brush: js">var canvas = document.getElementById('myCanvas'); -var gl = canvas.getContext('webgl'); -</pre> - -<p>Once you have the WebGL rendering context for a canvas, you can render within it.</p> - -<p>The <a href="/en-US/docs/Web/API/WebGL_API/Tutorial" title="WebGL tutorial">WebGL tutorial</a> has more information, examples, and resources on how to get started with WebGL.</p> - -<h2 id="Constantes">Constantes</h2> - -<p>See the <a href="/en-US/docs/Web/API/WebGL_API/Constants">WebGL constants</a> page.</p> - -<h2 id="O_contexto_de_WebGL">O contexto de WebGL</h2> - -<p>The following properties and methods provide general information and functionality to deal with the WebGL context:</p> - -<dl> - <dt>{{domxref("WebGLRenderingContext.canvas")}}</dt> - <dd>A read-only back-reference to the {{domxref("HTMLCanvasElement")}}. Might be {{jsxref("null")}} if it is not associated with a {{HTMLElement("canvas")}} element.</dd> - <dt>{{domxref("WebGLRenderingContext.commit()")}} {{experimental_inline}}</dt> - <dd> - <p>Pushes frames back to the original {{domxref("HTMLCanvasElement")}}, if the context is not directly fixed to a specific canvas.</p> - </dd> - <dt>{{domxref("WebGLRenderingContext.drawingBufferWidth")}}</dt> - <dd>The read-only width of the current drawing buffer. Should match the width of the canvas element associated with this context.</dd> - <dt>{{domxref("WebGLRenderingContext.drawingBufferHeight")}}</dt> - <dd>The read-only height of the current drawing buffer. Should match the height of the canvas element associated with this context.</dd> - <dt>{{domxref("WebGLRenderingContext.getContextAttributes()")}}</dt> - <dd>Returns a <code>WebGLContextAttributes</code> object that contains the actual context parameters. Might return {{jsxref("null")}}, if the context is lost.</dd> - <dt>{{domxref("WebGLRenderingContext.isContextLost()")}}</dt> - <dd>Returns <code>true</code> if the context is lost, otherwise returns <code>false</code>.</dd> -</dl> - -<h2 id="Visualização_e_recorte">Visualização e recorte</h2> - -<dl> - <dt>{{domxref("WebGLRenderingContext.scissor()")}}</dt> - <dd>Defines the scissor box.</dd> - <dt>{{domxref("WebGLRenderingContext.viewport()")}}</dt> - <dd>Sets the viewport.</dd> -</dl> - -<h2 id="Informação_de_estado">Informação de estado</h2> - -<dl> - <dt>{{domxref("WebGLRenderingContext.activeTexture()")}}</dt> - <dd>Selects the active texture unit.</dd> - <dt>{{domxref("WebGLRenderingContext.blendColor()")}}</dt> - <dd>Sets the source and destination blending factors.</dd> - <dt>{{domxref("WebGLRenderingContext.blendEquation()")}}</dt> - <dd>Sets both the RGB blend equation and alpha blend equation to a single equation.</dd> - <dt>{{domxref("WebGLRenderingContext.blendEquationSeparate()")}}</dt> - <dd>Sets the RGB blend equation and alpha blend equation separately.</dd> - <dt>{{domxref("WebGLRenderingContext.blendFunc()")}}</dt> - <dd>Defines which function is used for blending pixel arithmetic.</dd> - <dt>{{domxref("WebGLRenderingContext.blendFuncSeparate()")}}</dt> - <dd>Defines which function is used for blending pixel arithmetic for RGB and alpha components separately.</dd> - <dt>{{domxref("WebGLRenderingContext.clearColor()")}}</dt> - <dd>Specifies the color values used when clearing color buffers.</dd> - <dt>{{domxref("WebGLRenderingContext.clearDepth()")}}</dt> - <dd>Specifies the depth value used when clearing the depth buffer.</dd> - <dt>{{domxref("WebGLRenderingContext.clearStencil()")}}</dt> - <dd>Specifies the stencil value used when clearing the stencil buffer.</dd> - <dt>{{domxref("WebGLRenderingContext.colorMask()")}}</dt> - <dd>Sets which color components to enable or to disable when drawing or rendering to a {{domxref("WebGLFramebuffer")}}.</dd> - <dt>{{domxref("WebGLRenderingContext.cullFace()")}}</dt> - <dd>Specifies whether or not front- and/or back-facing polygons can be culled.</dd> - <dt>{{domxref("WebGLRenderingContext.depthFunc()")}}</dt> - <dd>Specifies a function that compares incoming pixel depth to the current depth buffer value.</dd> - <dt>{{domxref("WebGLRenderingContext.depthMask()")}}</dt> - <dd>Sets whether writing into the depth buffer is enabled or disabled.</dd> - <dt>{{domxref("WebGLRenderingContext.depthRange()")}}</dt> - <dd>Specifies the depth range mapping from normalized device coordinates to window or viewport coordinates.</dd> - <dt>{{domxref("WebGLRenderingContext.disable()")}}</dt> - <dd>Disables specific WebGL capabilities for this context.</dd> - <dt>{{domxref("WebGLRenderingContext.enable()")}}</dt> - <dd>Enables specific WebGL capabilities for this context.</dd> - <dt>{{domxref("WebGLRenderingContext.frontFace()")}}</dt> - <dd>Specifies whether polygons are front- or back-facing by setting a winding orientation.</dd> - <dt>{{domxref("WebGLRenderingContext.getParameter()")}}</dt> - <dd>Returns a value for the passed parameter name.</dd> - <dt>{{domxref("WebGLRenderingContext.getError()")}}</dt> - <dd>Returns error information.</dd> - <dt>{{domxref("WebGLRenderingContext.hint()")}}</dt> - <dd>Specifies hints for certain behaviors. The interpretation of these hints depend on the implementation.</dd> - <dt>{{domxref("WebGLRenderingContext.isEnabled()")}}</dt> - <dd>Tests whether a specific WebGL capability is enabled or not for this context.</dd> - <dt>{{domxref("WebGLRenderingContext.lineWidth()")}}</dt> - <dd>Sets the line width of rasterized lines.</dd> - <dt>{{domxref("WebGLRenderingContext.pixelStorei()")}}</dt> - <dd>Specifies the pixel storage modes</dd> - <dt>{{domxref("WebGLRenderingContext.polygonOffset()")}}</dt> - <dd>Specifies the scale factors and units to calculate depth values.</dd> - <dt>{{domxref("WebGLRenderingContext.sampleCoverage()")}}</dt> - <dd>Specifies multi-sample coverage parameters for anti-aliasing effects.</dd> - <dt>{{domxref("WebGLRenderingContext.stencilFunc()")}}</dt> - <dd>Sets the both front and back function and reference value for stencil testing.</dd> - <dt>{{domxref("WebGLRenderingContext.stencilFuncSeparate()")}}</dt> - <dd>Sets the front and/or back function and reference value for stencil testing.</dd> - <dt>{{domxref("WebGLRenderingContext.stencilMask()")}}</dt> - <dd>Controls enabling and disabling of both the front and back writing of individual bits in the stencil planes.</dd> - <dt>{{domxref("WebGLRenderingContext.stencilMaskSeparate()")}}</dt> - <dd>Controls enabling and disabling of front and/or back writing of individual bits in the stencil planes.</dd> - <dt>{{domxref("WebGLRenderingContext.stencilOp()")}}</dt> - <dd>Sets both the front and back-facing stencil test actions.</dd> - <dt>{{domxref("WebGLRenderingContext.stencilOpSeparate()")}}</dt> - <dd>Sets the front and/or back-facing stencil test actions.</dd> -</dl> - -<h2 id="Buffers"><em>Buffers</em></h2> - -<dl> - <dt>{{domxref("WebGLRenderingContext.bindBuffer()")}}</dt> - <dd>Binds a <code>WebGLBuffer</code> object to a given target.</dd> - <dt>{{domxref("WebGLRenderingContext.bufferData()")}}</dt> - <dd>Updates buffer data.</dd> - <dt>{{domxref("WebGLRenderingContext.bufferSubData()")}}</dt> - <dd>Updates buffer data starting at a passed offset.</dd> - <dt>{{domxref("WebGLRenderingContext.createBuffer()")}}</dt> - <dd>Creates a <code>WebGLBuffer</code> object.</dd> - <dt>{{domxref("WebGLRenderingContext.deleteBuffer()")}}</dt> - <dd>Deletes a <code>WebGLBuffer</code> object.</dd> - <dt>{{domxref("WebGLRenderingContext.getBufferParameter()")}}</dt> - <dd>Returns information about the buffer.</dd> - <dt>{{domxref("WebGLRenderingContext.isBuffer()")}}</dt> - <dd>Returns a Boolean indicating if the passed buffer is valid.</dd> -</dl> - -<h2 id="Framebuffers"><em>Framebuffers</em></h2> - -<dl> - <dt>{{domxref("WebGLRenderingContext.bindFramebuffer()")}}</dt> - <dd>Binds a <code>WebGLFrameBuffer</code> object to a given target.</dd> - <dt>{{domxref("WebGLRenderingContext.checkFramebufferStatus()")}}</dt> - <dd>Returns the status of the framebuffer.</dd> - <dt>{{domxref("WebGLRenderingContext.createFramebuffer()")}}</dt> - <dd>Creates a <code>WebGLFrameBuffer</code> object.</dd> - <dt>{{domxref("WebGLRenderingContext.deleteFramebuffer()")}}</dt> - <dd>Deletes a <code>WebGLFrameBuffer</code> object.</dd> - <dt>{{domxref("WebGLRenderingContext.framebufferRenderbuffer()")}}</dt> - <dd>Attaches a <code>WebGLRenderingBuffer</code> object to a <code>WebGLFrameBuffer</code> object.</dd> - <dt>{{domxref("WebGLRenderingContext.framebufferTexture2D()")}}</dt> - <dd>Attaches a textures image to a <code>WebGLFrameBuffer</code> object.</dd> - <dt>{{domxref("WebGLRenderingContext.getFramebufferAttachmentParameter()")}}</dt> - <dd>Returns information about the framebuffer.</dd> - <dt>{{domxref("WebGLRenderingContext.isFramebuffer()")}}</dt> - <dd>Returns a Boolean indicating if the passed <code>WebGLFrameBuffer</code> object is valid.</dd> - <dt>{{domxref("WebGLRenderingContext.readPixels()")}}</dt> - <dd>Reads a block of pixels from the <code>WebGLFrameBuffer</code>.</dd> -</dl> - -<h2 id="Renderbuffers"><em>Renderbuffers</em></h2> - -<dl> - <dt>{{domxref("WebGLRenderingContext.bindRenderbuffer()")}}</dt> - <dd>Binds a <code>WebGLRenderBuffer</code> object to a given target.</dd> - <dt>{{domxref("WebGLRenderingContext.createRenderbuffer()")}}</dt> - <dd>Creates a <code>WebGLRenderBuffer</code> object.</dd> - <dt>{{domxref("WebGLRenderingContext.deleteRenderbuffer()")}}</dt> - <dd>Deletes a <code>WebGLRenderBuffer</code> object.</dd> - <dt>{{domxref("WebGLRenderingContext.getRenderbufferParameter()")}}</dt> - <dd>Returns information about the renderbuffer.</dd> - <dt>{{domxref("WebGLRenderingContext.isRenderbuffer()")}}</dt> - <dd>Returns a Boolean indicating if the passed <code>WebGLRenderingBuffer</code> is valid.</dd> - <dt>{{domxref("WebGLRenderingContext.renderbufferStorage()")}}</dt> - <dd>Creates a renderbuffer data store.</dd> -</dl> - -<h2 id="Texturas">Texturas</h2> - -<dl> - <dt>{{domxref("WebGLRenderingContext.bindTexture()")}}</dt> - <dd>Binds a <code>WebGLTexture</code> object to a given target.</dd> - <dt>{{domxref("WebGLRenderingContext.compressedTexImage2D()")}}</dt> - <dd>Specifies a 2D texture image in a compressed format.</dd> - <dt>{{domxref("WebGLRenderingContext.compressedTexSubImage2D()")}}</dt> - <dd>Specifies a 2D texture sub-image in a compressed format.</dd> - <dt>{{domxref("WebGLRenderingContext.copyTexImage2D()")}}</dt> - <dd>Copies a 2D texture image.</dd> - <dt>{{domxref("WebGLRenderingContext.copyTexSubImage2D()")}}</dt> - <dd>Copies a 2D texture sub-image.</dd> - <dt>{{domxref("WebGLRenderingContext.createTexture()")}}</dt> - <dd>Creates a <code>WebGLTexture</code> object.</dd> - <dt>{{domxref("WebGLRenderingContext.deleteTexture()")}}</dt> - <dd>Deletes a <code>WebGLTexture</code> object.</dd> - <dt>{{domxref("WebGLRenderingContext.generateMipmap()")}}</dt> - <dd>Generates a set of mipmaps for a <code>WebGLTexture</code> object.</dd> - <dt>{{domxref("WebGLRenderingContext.getTexParameter()")}}</dt> - <dd>Returns information about the texture.</dd> - <dt>{{domxref("WebGLRenderingContext.isTexture()")}}</dt> - <dd>Returns a Boolean indicating if the passed <code>WebGLTexture</code> is valid.</dd> - <dt>{{domxref("WebGLRenderingContext.texImage2D()")}}</dt> - <dd>Specifies a 2D texture image.</dd> - <dt>{{domxref("WebGLRenderingContext.texSubImage2D()")}}</dt> - <dd>Updates a sub-rectangle of the current <code>WebGLTexture</code>.</dd> - <dt>{{domxref("WebGLRenderingContext.texParameter", "WebGLRenderingContext.texParameterf()")}}</dt> - <dd>Sets texture parameters.</dd> - <dt>{{domxref("WebGLRenderingContext.texParameter", "WebGLRenderingContext.texParameteri()")}}</dt> - <dd>Sets texture parameters.</dd> -</dl> - -<h2 id="Programas_e_shaders">Programas e <em>shaders</em></h2> - -<dl> - <dt>{{domxref("WebGLRenderingContext.attachShader()")}}</dt> - <dd>Attaches a <code>WebGLShader</code> to a <code>WebGLProgram</code>.</dd> - <dt>{{domxref("WebGLRenderingContext.bindAttribLocation()")}}</dt> - <dd>Binds a generic vertex index to a named attribute variable.</dd> - <dt>{{domxref("WebGLRenderingContext.compileShader()")}}</dt> - <dd>Compiles a <code>WebGLShader</code>.</dd> - <dt>{{domxref("WebGLRenderingContext.createProgram()")}}</dt> - <dd>Creates a <code>WebGLProgram</code>.</dd> - <dt>{{domxref("WebGLRenderingContext.createShader()")}}</dt> - <dd>Creates a <code>WebGLShader</code>.</dd> - <dt>{{domxref("WebGLRenderingContext.deleteProgram()")}}</dt> - <dd>Deletes a <code>WebGLProgram</code>.</dd> - <dt>{{domxref("WebGLRenderingContext.deleteShader()")}}</dt> - <dd>Deletes a <code>WebGLShader</code>.</dd> - <dt>{{domxref("WebGLRenderingContext.detachShader()")}}</dt> - <dd>Detaches a <code>WebGLShader</code>.</dd> - <dt>{{domxref("WebGLRenderingContext.getAttachedShaders()")}}</dt> - <dd>Returns a list of <code>WebGLShader</code> objects attached to a <code>WebGLProgram</code>.</dd> - <dt>{{domxref("WebGLRenderingContext.getProgramParameter()")}}</dt> - <dd>Returns information about the program.</dd> - <dt>{{domxref("WebGLRenderingContext.getProgramInfoLog()")}}</dt> - <dd>Returns the information log for a <code>WebGLProgram</code> object.</dd> - <dt>{{domxref("WebGLRenderingContext.getShaderParameter()")}}</dt> - <dd>Returns information about the shader.</dd> - <dt>{{domxref("WebGLRenderingContext.getShaderPrecisionFormat()")}}</dt> - <dd>Returns a <code>WebGLShaderPrecisionFormat</code> object describing the precision for the numeric format of the shader.</dd> - <dt>{{domxref("WebGLRenderingContext.getShaderInfoLog()")}}</dt> - <dd>Returns the information log for a <code>WebGLShader</code> object.</dd> - <dt>{{domxref("WebGLRenderingContext.getShaderSource()")}}</dt> - <dd>Returns the source code of a <code>WebGLShader</code> as a string.</dd> - <dt>{{domxref("WebGLRenderingContext.isProgram()")}}</dt> - <dd>Returns a Boolean indicating if the passed <code>WebGLProgram</code> is valid.</dd> - <dt>{{domxref("WebGLRenderingContext.isShader()")}}</dt> - <dd>Returns a Boolean indicating if the passed <code>WebGLShader</code> is valid.</dd> - <dt>{{domxref("WebGLRenderingContext.linkProgram()")}}</dt> - <dd>Links the passed <code>WebGLProgram</code> object.</dd> - <dt>{{domxref("WebGLRenderingContext.shaderSource()")}}</dt> - <dd>Sets the source code in a <code>WebGLShader</code>.</dd> - <dt>{{domxref("WebGLRenderingContext.useProgram()")}}</dt> - <dd>Uses the specified <code>WebGLProgram</code> as part the current rendering state.</dd> - <dt>{{domxref("WebGLRenderingContext.validateProgram()")}}</dt> - <dd>Validates a <code>WebGLProgram</code>.</dd> -</dl> - -<h2 id="Uniforms_e_atributos"><em>Uniforms </em>e atributos</h2> - -<dl> - <dt>{{domxref("WebGLRenderingContext.disableVertexAttribArray()")}}</dt> - <dd>Disables a vertex attribute array at a given position.</dd> - <dt>{{domxref("WebGLRenderingContext.enableVertexAttribArray()")}}</dt> - <dd>Enables a vertex attribute array at a given position.</dd> - <dt>{{domxref("WebGLRenderingContext.getActiveAttrib()")}}</dt> - <dd>Returns information about an active attribute variable.</dd> - <dt>{{domxref("WebGLRenderingContext.getActiveUniform()")}}</dt> - <dd>Returns information about an active uniform variable.</dd> - <dt>{{domxref("WebGLRenderingContext.getAttribLocation()")}}</dt> - <dd>Returns the location of an attribute variable.</dd> - <dt>{{domxref("WebGLRenderingContext.getUniform()")}}</dt> - <dd>Returns the value of a uniform variable at a given location.</dd> - <dt>{{domxref("WebGLRenderingContext.getUniformLocation()")}}</dt> - <dd>Returns the location of a uniform variable.</dd> - <dt>{{domxref("WebGLRenderingContext.getVertexAttrib()")}}</dt> - <dd>Returns information about a vertex attribute at a given position.</dd> - <dt>{{domxref("WebGLRenderingContext.getVertexAttribOffset()")}}</dt> - <dd>Returns the address of a given vertex attribute.</dd> - <dt>{{domxref("WebGLRenderingContext.uniform()", "WebGLRenderingContext.uniform[1234][fi][v]()")}}</dt> - <dd>Specifies a value for a uniform variable.</dd> - <dt>{{domxref("WebGLRenderingContext.uniformMatrix()", "WebGLRenderingContext.uniformMatrix[234]fv()")}}</dt> - <dd>Specifies a matrix value for a uniform variable.</dd> - <dt>{{domxref("WebGLRenderingContext.vertexAttrib()", "WebGLRenderingContext.vertexAttrib[1234]f[v]()")}}</dt> - <dd>Specifies a value for a generic vertex attribute.</dd> - <dt>{{domxref("WebGLRenderingContext.vertexAttribPointer()")}}</dt> - <dd>Specifies the data formats and locations of vertex attributes in a vertex attributes array.</dd> -</dl> - -<h2 id="Drawing_buffers">Drawing buffers</h2> - -<dl> - <dt>{{domxref("WebGLRenderingContext.clear()")}}</dt> - <dd>Clears specified buffers to preset values.</dd> - <dt>{{domxref("WebGLRenderingContext.drawArrays()")}}</dt> - <dd>Renders primitives from array data.</dd> - <dt>{{domxref("WebGLRenderingContext.drawElements()")}}</dt> - <dd>Renders primitives from element array data.</dd> - <dt>{{domxref("WebGLRenderingContext.finish()")}}</dt> - <dd>Blocks execution until all previously called commands are finished.</dd> - <dt>{{domxref("WebGLRenderingContext.flush()")}}</dt> - <dd>Empties different buffer commands, causing all commands to be executed as quickly as possible.</dd> -</dl> - -<h2 id="Trabalhar_com_extensões">Trabalhar com extensões</h2> - -<p>These methods manage WebGL extensions:</p> - -<dl> - <dt>{{domxref("WebGLRenderingContext.getSupportedExtensions()")}}</dt> - <dd>Returns an {{jsxref("Array")}} of {{domxref("DOMString")}} elements with all the supported WebGL extensions.</dd> - <dt>{{domxref("WebGLRenderingContext.getExtension()")}}</dt> - <dd>Returns an extension object.</dd> -</dl> - -<h2 id="Exemplos">Exemplos</h2> - -<h3 id="WebGL_context_feature_detection">WebGL context feature detection</h3> - -<p>{{page("/en-US/Learn/WebGL/By_example/Detect_WebGL", "summary")}}</p> - -<p>{{page("/en-US/Learn/WebGL/By_example/Detect_WebGL", "detect-webgl-source")}}</p> - -<p>{{EmbedLiveSample("detect-webgl-source", 660,150 ,"" , "Learn/WebGL/By_example/Detect_WebGL")}}</p> - -<h3 id="Effect_of_canvas_size_on_rendering_with_WebGL">Effect of canvas size on rendering with WebGL</h3> - -<p>{{page("/en-US/Learn/WebGL/By_example/Canvas_size_and_WebGL", "canvas-size-and-webgl-intro")}}</p> - -<p>{{page("/en-US/Learn/WebGL/By_example/Canvas_size_and_WebGL", "canvas-size-and-webgl-source")}}</p> - -<p>{{EmbedLiveSample("canvas-size-and-webgl-source", 660,180 ,"" , "Learn/WebGL/By_example/Canvas_size_and_WebGL")}}</p> - -<h2 id="Especificações">Especificações</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Specification</th> - <th scope="col">Status</th> - <th scope="col">Comment</th> - </tr> - <tr> - <td>{{SpecName('WebGL', "#5.14", "WebGLRenderingContext")}}</td> - <td>{{Spec2('WebGL')}}</td> - <td>Initial definition</td> - </tr> - </tbody> -</table> - -<h2 id="Compatibilidade_de_navegador">Compatibilidade de navegador</h2> - -<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p> - -<p>{{Compat("api.WebGLRenderingContext")}}</p> - -<h2 id="Consulte_também">Consulte também</h2> - -<ul> - <li>{{domxref("HTMLCanvasElement")}}</li> -</ul> - -<div id="SL_balloon_obj" style="display: block;"> -<div class="SL_ImTranslatorLogo" id="SL_button" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%; opacity: 1; display: none; left: -8px; top: -25px;"> </div> - -<div id="SL_shadow_translation_result2" class="hidden"> </div> - -<div id="SL_shadow_translator" class="hidden"> -<div id="SL_planshet"> -<div id="SL_arrow_up" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;"> </div> - -<div id="SL_Bproviders"> -<div class="SL_BL_LABLE_ON" id="SL_P0" title="Google">G</div> - -<div class="SL_BL_LABLE_ON" id="SL_P1" title="Microsoft">M</div> - -<div class="SL_BL_LABLE_ON" id="SL_P2" title="Translator">T</div> -</div> - -<div id="SL_alert_bbl" class="hidden"> -<div id="SLHKclose" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;"> </div> - -<div id="SL_alert_cont"> </div> -</div> - -<div id="SL_TB"> -<table id="SL_tables"> - <tbody><tr> - <td class="SL_td"><input></td> - <td class="SL_td"><select><option value="auto">Detectar idioma</option><option value="af">Africâner</option><option value="sq">Albanês</option><option value="de">Alemão</option><option value="ar">Arabe</option><option value="hy">Armênio</option><option value="az">Azerbaijano</option><option value="eu">Basco</option><option value="bn">Bengali</option><option value="be">Bielo-russo</option><option value="my">Birmanês</option><option value="bs">Bósnio</option><option value="bg">Búlgaro</option><option value="ca">Catalão</option><option value="kk">Cazaque</option><option value="ceb">Cebuano</option><option value="ny">Chichewa</option><option value="zh-CN">Chinês (Simp)</option><option value="zh-TW">Chinês (Trad)</option><option value="si">Cingalês</option><option value="ko">Coreano</option><option value="ht">Crioulo haitiano</option><option value="hr">Croata</option><option value="da">Dinamarquês</option><option value="sk">Eslovaco</option><option value="sl">Esloveno</option><option value="es">Espanhol</option><option value="eo">Esperanto</option><option value="et">Estoniano</option><option value="fi">Finlandês</option><option value="fr">Francês</option><option value="gl">Galego</option><option value="cy">Galês</option><option value="ka">Georgiano</option><option value="el">Grego</option><option value="gu">Gujarati</option><option value="ha">Hauça</option><option value="iw">Hebraico</option><option value="hi">Hindi</option><option value="hmn">Hmong</option><option value="nl">Holandês</option><option value="hu">Húngaro</option><option value="ig">Igbo</option><option value="id">Indonésio</option><option value="en">Inglês</option><option value="yo">Ioruba</option><option value="ga">Irlandês</option><option value="is">Islandês</option><option value="it">Italiano</option><option value="ja">Japonês</option><option value="jw">Javanês</option><option value="kn">Kannada</option><option value="km">Khmer</option><option value="lo">Laosiano</option><option value="la">Latim</option><option value="lv">Letão</option><option value="lt">Lituano</option><option value="mk">Macedônico</option><option value="ml">Malaiala</option><option value="ms">Malaio</option><option value="mg">Malgaxe</option><option value="mt">Maltês</option><option value="mi">Maori</option><option value="mr">Marathi</option><option value="mn">Mongol</option><option value="ne">Nepalês</option><option value="no">Norueguês</option><option value="fa">Persa</option><option value="pl">Polonês</option><option value="pt">Português</option><option value="pa">Punjabi</option><option value="ro">Romeno</option><option value="ru">Russo</option><option value="sr">Sérvio</option><option value="st">Sesotho</option><option value="so">Somália</option><option value="sw">Suaíli</option><option value="su">Sudanês</option><option value="sv">Sueco</option><option value="tg">Tadjique</option><option value="tl">Tagalo</option><option value="th">Tailandês</option><option value="ta">Tâmil</option><option value="cs">Tcheco</option><option value="te">Telugo</option><option value="tr">Turco</option><option value="uk">Ucraniano</option><option value="ur">Urdu</option><option value="uz">Uzbeque</option><option value="vi">Vietnamita</option><option value="yi">Yiddish</option><option value="zu">Zulu</option></select></td> - <td class="SL_td"> - <div id="SL_switch_b" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;" title="Alternar Idiomas"> </div> - </td> - <td class="SL_td"><select><option value="af">Africâner</option><option value="sq">Albanês</option><option value="de">Alemão</option><option value="ar">Arabe</option><option value="hy">Armênio</option><option value="az">Azerbaijano</option><option value="eu">Basco</option><option value="bn">Bengali</option><option value="be">Bielo-russo</option><option value="my">Birmanês</option><option value="bs">Bósnio</option><option value="bg">Búlgaro</option><option value="ca">Catalão</option><option value="kk">Cazaque</option><option value="ceb">Cebuano</option><option value="ny">Chichewa</option><option value="zh-CN">Chinês (Simp)</option><option value="zh-TW">Chinês (Trad)</option><option value="si">Cingalês</option><option value="ko">Coreano</option><option value="ht">Crioulo haitiano</option><option value="hr">Croata</option><option value="da">Dinamarquês</option><option value="sk">Eslovaco</option><option value="sl">Esloveno</option><option value="es">Espanhol</option><option value="eo">Esperanto</option><option value="et">Estoniano</option><option value="fi">Finlandês</option><option value="fr">Francês</option><option value="gl">Galego</option><option value="cy">Galês</option><option value="ka">Georgiano</option><option value="el">Grego</option><option value="gu">Gujarati</option><option value="ha">Hauça</option><option value="iw">Hebraico</option><option value="hi">Hindi</option><option value="hmn">Hmong</option><option value="nl">Holandês</option><option value="hu">Húngaro</option><option value="ig">Igbo</option><option value="id">Indonésio</option><option selected value="en">Inglês</option><option value="yo">Ioruba</option><option value="ga">Irlandês</option><option value="is">Islandês</option><option value="it">Italiano</option><option value="ja">Japonês</option><option value="jw">Javanês</option><option value="kn">Kannada</option><option value="km">Khmer</option><option value="lo">Laosiano</option><option value="la">Latim</option><option value="lv">Letão</option><option value="lt">Lituano</option><option value="mk">Macedônico</option><option value="ml">Malaiala</option><option value="ms">Malaio</option><option value="mg">Malgaxe</option><option value="mt">Maltês</option><option value="mi">Maori</option><option value="mr">Marathi</option><option value="mn">Mongol</option><option value="ne">Nepalês</option><option value="no">Norueguês</option><option value="fa">Persa</option><option value="pl">Polonês</option><option value="pt">Português</option><option value="pa">Punjabi</option><option value="ro">Romeno</option><option value="ru">Russo</option><option value="sr">Sérvio</option><option value="st">Sesotho</option><option value="so">Somália</option><option value="sw">Suaíli</option><option value="su">Sudanês</option><option value="sv">Sueco</option><option value="tg">Tadjique</option><option value="tl">Tagalo</option><option value="th">Tailandês</option><option value="ta">Tâmil</option><option value="cs">Tcheco</option><option value="te">Telugo</option><option value="tr">Turco</option><option value="uk">Ucraniano</option><option value="ur">Urdu</option><option value="uz">Uzbeque</option><option value="vi">Vietnamita</option><option value="yi">Yiddish</option><option value="zu">Zulu</option></select></td> - <td class="SL_td"> - <div id="SL_TTS_voice" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;" title="Ouça"> </div> - </td> - <td class="SL_td"> - <div class="SL_copy" id="SL_copy" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;" title="Copiar"> </div> - </td> - <td class="SL_td"> - <div id="SL_bbl_font_patch"> </div> - - <div class="SL_bbl_font" id="SL_bbl_font" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;" title="Tamanho da fonte"> </div> - </td> - <td class="SL_td"> - <div id="SL_bbl_help" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;" title="Ajuda"> </div> - </td> - <td class="SL_td"> - <div class="SL_pin_off" id="SL_pin" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;" title="Fixar a janela de pop-up"> </div> - </td> - </tr> -</tbody></table> -</div> -</div> - -<div id="SL_shadow_translation_result" style=""> </div> - -<div class="SL_loading" id="SL_loading" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;"> </div> - -<div id="SL_player2"> </div> - -<div id="SL_alert100">A função de fala é limitada a 200 caracteres</div> - -<div id="SL_Balloon_options" style="background: rgb(255, 255, 255) repeat scroll 0% 0%;"> -<div id="SL_arrow_down" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;"> </div> - -<table id="SL_tbl_opt" style="width: 100%;"> - <tbody><tr> - <td><input></td> - <td> - <div id="SL_BBL_IMG" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;" title="Mostrar o botão do ImTranslator 3 segundos"> </div> - </td> - <td><a class="SL_options" title="Mostrar opções">Opções</a> : <a class="SL_options" title="Histórico de tradução">Histórico</a> : <a class="SL_options" title="Comentários">Comentários</a> : <a class="SL_options" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GD9D8CPW8HFA2" title="Faça sua contribuição">Donate</a></td> - <td><span id="SL_Balloon_Close" title="Encerrar">Encerrar</span></td> - </tr> -</tbody></table> -</div> -</div> -</div> |