The initial values of the shader uniforms.
Static
classThe named batch sampler plugin that is used by this shader, or null if no batching is used.
Static
pausableIs this shader pausable or not?
Static
CONTRASTContrast adjustment
Static
SATURATIONSaturation adjustment
Static
EXPOSUREExposure adjustment.
Static
vertexStatic
fragmentStatic
batchThe batch vertex shader source.
Static
batchThe batch fragment shader source.
Static
defaultThe default uniform values for the shader. A subclass of AbstractBaseShader must implement the defaultUniforms static field.
Static
batchBatch geometry associated with this sampler.
Static
batchThe size of a vertice with all its packed attributes.
Static
batchA function that returns default uniforms associated with the batched version of this sampler.
Static
reservedThe number of reserved texture units for this shader that cannot be used by the batch renderer.
Static
batchThe batch renderer to use.
Static
batchThe batch generator to use.
Static
Protected
_packPack interleaved geometry custom function.
Static
Protected
_preA prerender function happening just before the batch renderer is flushed.
The plugin name associated for this instance, if any. Returns "batch" if the shader is disabled.
Activate or deactivate this sampler. If set to false, the batch rendering is redirected to "batch". Otherwise, the batch rendering is directed toward the instance pluginName (might be null)
Pause or Unpause this sampler. If set to true, the shader is disabled. Otherwise, it is enabled. Contrary to enabled, a shader might decide to refuse a pause, to continue to render animations per example.
Static
ADJUSTMENTSThe adjustments made into fragment shaders.
Protected
_configureStatic
initializeStatic
createStatic
registerStatic
createA factory method for creating the shader using its defined default values
The base sampler shader exposes a simple sprite shader and all the framework to handle: