Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Sep 21, 2024
1 parent 1c7da17 commit da6f0ce
Show file tree
Hide file tree
Showing 37 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/webglrenderingcontext/hint/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.hint
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.hint()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) specifies hints for certain
behaviors. The interpretation of these hints depend on the implementation.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/webglrenderingcontext/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ page-type: web-api-interface
browser-compat: api.WebGLRenderingContext
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext`** interface provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML {{HTMLElement("canvas")}} element.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.isBuffer
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.isBuffer()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) returns `true` if the
passed {{domxref("WebGLBuffer")}} is valid and `false` otherwise.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.isContextLost
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The
**`WebGLRenderingContext.isContextLost()`** method returns a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.isEnabled
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.isEnabled()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) tests whether a specific WebGL
capability is enabled or not for this context.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.isFramebuffer
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.isFramebuffer()`** method of the
[WebGL API](/en-US/docs/Web/API/WebGL_API) returns `true` if the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.isProgram
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.isProgram()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) returns `true` if the
passed {{domxref("WebGLProgram")}} is valid, `false` otherwise.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.isRenderbuffer
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.isRenderbuffer()`** method of the
[WebGL API](/en-US/docs/Web/API/WebGL_API) returns `true` if the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.isShader
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.isShader()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) returns `true` if the
passed {{domxref("WebGLShader")}} is valid, `false` otherwise.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.isTexture
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.isTexture()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) returns `true` if the
passed {{domxref("WebGLTexture")}} is valid and `false` otherwise.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.lineWidth
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.lineWidth()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) sets the line width of rasterized
lines.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.linkProgram
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The {{domxref("WebGLRenderingContext")}} interface's
**`linkProgram()`** method links a given
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.makeXRCompatible
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The {{domxref("WebGLRenderingContext")}} method
**`makeXRCompatible()`** ensures that the rendering context
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.pixelStorei
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.pixelStorei()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) specifies the pixel storage modes.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.polygonOffset
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.polygonOffset()`** method of the
[WebGL API](/en-US/docs/Web/API/WebGL_API) specifies the scale factors and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.readPixels
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.readPixels()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) reads a block of pixels from a
specified rectangle of the current color framebuffer into a {{jsxref("TypedArray")}} or a {{jsxref("DataView")}} object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.renderbufferStorage
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.renderbufferStorage()`** method of
the [WebGL API](/en-US/docs/Web/API/WebGL_API) creates and initializes a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.sampleCoverage
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.sampleCoverage()`** method of the
[WebGL API](/en-US/docs/Web/API/WebGL_API) specifies multi-sample coverage
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/webglrenderingcontext/scissor/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.scissor
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.scissor()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) sets a scissor box, which limits
the drawing to a specified rectangle.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.shaderSource
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.shaderSource()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) sets the source code of a
{{domxref("WebGLShader")}}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.stencilFunc
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.stencilFunc()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) sets the front and back function
and reference value for stencil testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.stencilFuncSeparate
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.stencilFuncSeparate()`** method of
the [WebGL API](/en-US/docs/Web/API/WebGL_API) sets the front and/or back
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.stencilMask
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.stencilMask()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) controls enabling and disabling of
both the front and back writing of individual bits in the stencil planes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.stencilMaskSeparate
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.stencilMaskSeparate()`** method of
the [WebGL API](/en-US/docs/Web/API/WebGL_API) controls enabling and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.stencilOp
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.stencilOp()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) sets both the front and back-facing
stencil test actions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.stencilOpSeparate
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.stencilOpSeparate()`** method of
the [WebGL API](/en-US/docs/Web/API/WebGL_API) sets the front and/or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.texImage2D
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.texImage2D()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) specifies a two-dimensional texture
image.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ browser-compat:
- api.WebGLRenderingContext.texParameteri
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.texParameter[fi]()`** methods of
the [WebGL API](/en-US/docs/Web/API/WebGL_API) set texture parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.texSubImage2D
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.texSubImage2D()`** method of the
[WebGL API](/en-US/docs/Web/API/WebGL_API) specifies a sub-rectangle of the
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/webglrenderingcontext/uniform/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.uniform1f
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.uniform[1234][fi][v]()`** methods
of the [WebGL API](/en-US/docs/Web/API/WebGL_API) specify values of uniform
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.uniformMatrix2fv
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.uniformMatrix[234]fv()`** methods
of the [WebGL API](/en-US/docs/Web/API/WebGL_API) specify matrix values for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.WebGLRenderingContext.unpackColorSpace
---

{{APIRef("WebGL")}}{{SeeCompatTable}}
{{APIRef("WebGL")}}{{SeeCompatTable}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.unpackColorSpace`** property specifies the color space to convert to when importing textures. Along with the default (`srgb`), the `display-p3` color space can be used.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.useProgram
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.useProgram()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) sets the specified
{{domxref("WebGLProgram")}} as part of the current rendering state.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.validateProgram
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.validateProgram()`** method of the
[WebGL API](/en-US/docs/Web/API/WebGL_API) validates a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.vertexAttrib1f
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.vertexAttrib[1234]f[v]()`**
methods of the [WebGL API](/en-US/docs/Web/API/WebGL_API) specify constant
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.vertexAttribPointer
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The
**`WebGLRenderingContext.vertexAttribPointer()`** method of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page-type: web-api-instance-method
browser-compat: api.WebGLRenderingContext.viewport
---

{{APIRef("WebGL")}}
{{APIRef("WebGL")}}{{AvailableInWorkers}}

The **`WebGLRenderingContext.viewport()`** method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) sets the viewport, which specifies
the affine transformation of x and y from normalized device coordinates to window
Expand Down

0 comments on commit da6f0ce

Please sign in to comment.