Skip to main content
Version: Phaser v4.0.0-rc.6

Phaser.Types.Renderer.WebGL

Scope: static

Source: src/renderer/webgl/typedefs/index.js#L7

Static functions

Static functions

ShaderAdditionConfig

ShaderAdditionConfig

Description:

A ShaderAdditionConfig defines an addition to be made to a shader program.

It consists of a name, a set of shader additions, and optional tags.

The name is used as a key to identify the shader addition.

It is used as part of a unique identifier for a shader program.

The shader additions are key-value pairs of strings,

where the key is the template to which the value is added.

This is found in the base shader program source code as

#pragma phaserTemplate(key).

Source: src/renderer/webgl/typedefs/ShaderAdditionConfig.js#L7
Since: 4.0.0


WebGLAttributeBufferLayout

WebGLAttributeBufferLayout

Source: src/renderer/webgl/typedefs/WebGLAttributeBufferLayout.js#L20
Since: 4.0.0


WebGLAttributeLayout

WebGLAttributeLayout

Source: src/renderer/webgl/typedefs/WebGLAttributeBufferLayout.js#L7
Since: 4.0.0


WebGLBatchEntry

WebGLBatchEntry

Source: src/renderer/webgl/typedefs/WebGLBatchEntry.js#L1
Since: 4.0.0


WebGLBlendParameters

WebGLBlendParameters

Source: src/renderer/webgl/typedefs/WebGLBlendParameters.js#L7
Since: 4.0.0


WebGLConst

WebGLConst

Source: src/renderer/webgl/typedefs/WebGLConst.js#L1
Since: 3.50.0


WebGLGlobalParameters

WebGLGlobalParameters

Source: src/renderer/webgl/typedefs/WebGLGlobalParameters.js#L7
Since: 4.0.0


WebGLStencilParameters

WebGLStencilParameters

Source: src/renderer/webgl/typedefs/WebGLStencilParameters.js#L7
Since: 4.0.0


WebGLTextureCompression

WebGLTextureCompression

Source: src/renderer/webgl/typedefs/WebGLTextureCompression.js#L1
Since: 3.55.0


WebGLUniform

WebGLUniform

Source: src/renderer/webgl/typedefs/WebGLUniform.js#L7
Since: 4.0.0