Results 241 - 260 of 274

WebGLRenderingContext.scissor()

The WebGLRenderingContext.scissor() method of the WebGL API sets a scissor box, which limits the drawing to a specified rectangle.
API Method Reference WebGL WebGLRenderingContext

WebGLRenderingContext.shaderSource()

The WebGLRenderingContext.shaderSource() method of the WebGL API sets the source code of a WebGLShader.
API Method Reference WebGL WebGLRenderingContext

WebGLRenderingContext.stencilFunc()

The WebGLRenderingContext.stencilFunc() method of the WebGL API sets the front and back function and reference value for stencil testing.
API Method Reference WebGL WebGLRenderingContext

WebGLRenderingContext.stencilFuncSeparate()

The WebGLRenderingContext.stencilFuncSeparate() method of the WebGL API sets the front and/or back function and reference value for stencil testing.
API Method Reference WebGL WebGLRenderingContext

WebGLRenderingContext.stencilMask()

The WebGLRenderingContext.stencilMask() method of the WebGL API controls enabling and disabling of both the front and back writing of individual bits in the stencil planes.
API Method Reference WebGL WebGLRenderingContext

WebGLRenderingContext.stencilMaskSeparate()

The WebGLRenderingContext.stencilMaskSeparate() method of the WebGL API controls enabling and disabling of front and/or back writing of individual bits in the stencil planes.
API Method Reference WebGL WebGLRenderingContext

WebGLRenderingContext.stencilOp()

The WebGLRenderingContext.stencilOp() method of the WebGL API sets both the front and back-facing stencil test actions.
API Method Reference WebGL WebGLRenderingContext

WebGLRenderingContext.stencilOpSeparate()

The WebGLRenderingContext.stencilOpSeparate() method of the WebGL API sets the front and/or back-facing stencil test actions.
API Method Reference WebGL WebGLRenderingContext

WebGLRenderingContext.uniform[1234][fi][v]()

The WebGLRenderingContext.uniform[1234][fi][v]() methods of the WebGL API specify values of uniform variables.
API Method Reference WebGL WebGLRenderingContext

WebGLRenderingContext.uniformMatrix[234]fv()

The WebGLRenderingContext.uniformMatrix[234]fv() methods of the WebGL API specify  matrix values for uniform variables.
API Method Reference WebGL WebGLRenderingContext

WebGLRenderingContext.useProgram()

The WebGLRenderingContext.useProgram() method of the WebGL API sets the specified WebGLProgram as part the current rendering state.
API Method Reference WebGL WebGLRenderingContext

WebGLRenderingContext.validateProgram()

The WebGLRenderingContext.validateProgram() method of the WebGL API validates a WebGLProgram. It checks if it is successfully linked and if it can be used in the current WebGL state.
API Method Reference WebGL WebGLRenderingContext

WebGLRenderingContext.vertexAttrib[1234]f[v]()

The WebGLRenderingContext.vertexAttrib[1234]f[v]() methods of the WebGL API specify values for generic vertex attributes.
API Method Reference WebGL WebGLRenderingContext

WebGLRenderingContext.vertexAttribPointer()

The WebGLRenderingContext.vertexAttribPointer() method of the WebGL API specifies the data formats and locations of vertex attributes in a vertex attributes array.
API Method Reference WebGL WebGLRenderingContext

WebGLRenderingContext.viewport()

The WebGLRenderingContext.viewport() method of the WebGL API sets the viewport, which specifies the affine transformation of x and y from normalized device coordinates to window coordinates.
API Method Reference WebGL WebGLRenderingContext

OffscreenCanvas()

The OffscreenCanvas() constructor returns a newly instantiated OffscreenCanvas object.
API Canvas Constructor Experimental OffscreenCanvas Reference WebGL

WebGL model view projection

This article explores how to take data within a WebGL project, and project it into the proper spaces to display it on the screen. It assumes a knowledge of basic matrix math using translation, scale, and rotation matrices. It explains the three core matrices that are typically used to represent a 3D object: the model, view and projection matrices.
Graphics Guide Model projection View WebGL

WebGLContextEvent.statusMessage

The read-only WebGLContextEvent.statusMessage property contains additional event status information, or is an empty string if no additional information is available.
API Property Read-only Reference WebGL WebGLContextEvent

WebGLRenderingContext.bindTexture()

The WebGLRenderingContext.bindTexture() method of the WebGL API binds a given WebGLTexture to a target (binding point).
API Method Reference Textures WebGL WebGLRenderingContext

WebGLRenderingContext.commit()

The WebGLRenderingContext.commit() method pushes frames back to the original HTMLCanvasElement, if the context is not directly fixed to a specific canvas.
API Experimental Method OffscreenCanvas Reference WebGL