ShaderSources
constShaderSources:object
Defined in: material.ts:673
Built-in ES 3.0 shader sources for SDK custom materials. These use the batch renderer vertex layout (vec3 position + vec4 color + vec2 texCoord) and are NOT duplicates of the .esshader files (which are ES 1.0 with different layouts).
Type Declaration
Section titled “Type Declaration”COLOR_FRAGMENT
Section titled “COLOR_FRAGMENT”COLOR_FRAGMENT:
string
COLOR_VERTEX
Section titled “COLOR_VERTEX”COLOR_VERTEX:
string
SPRITE_FRAGMENT
Section titled “SPRITE_FRAGMENT”SPRITE_FRAGMENT:
string
SPRITE_VERTEX
Section titled “SPRITE_VERTEX”SPRITE_VERTEX:
string