Phaser API Documentation

  Version: 
WebGLPipelineAttributesConfig
Properties:
name type arguments Default description
name string

The name of the attribute as defined in the vertex shader.

size number

The number of components in the attribute, i.e. 1 for a float, 2 for a vec2, 3 for a vec3, etc.

type Phaser.Types.Renderer.WebGL.WebGLConst

The data type of the attribute, one of the WEBGL_CONST values, i.e. WEBGL_CONST.FLOAT, WEBGL_CONST.UNSIGNED_BYTE, etc.

normalized boolean <optional> false

Should the attribute data be normalized?

Type:
object