WARNING: Do not pass uSamplers
in your uniforms. They
will be added to your shader instance directly.
Name | Type | Default | Description |
---|---|---|---|
vertexShaderTemplate |
string | ||
fragmentShaderTemplate |
string | ||
uniforms |
UniformGroup | Map.<string, object> | ||
templateInjectors |
Object.<String, PIXI.brend.InjectorFunction> | optional | |
disableVertexShaderTemplate |
boolean | true |
optional
turn off (true) if you aren't using macros in the vertex shader |
Members
-
-
-
-
-
Disable vertex shader templates to speed up shader generation.