The initial values of the shader uniforms.
StaticbatchReturns default uniforms associated with the batched version of this sampler.
StaticbatchBatch geometry associated with this sampler.
StaticbatchThe batch renderer to use.
StaticbatchThe batch generator to use.
StaticbatchThe size of a vertex with all its packed attributes.
StaticclassThe named batch sampler plugin that is used by this shader, or null if no batching is used.
StaticCONTRASTContrast adjustment
StaticEXPOSUREExposure adjustment.
StaticpausableIs this shader pausable or not?
StaticreservedThe number of reserved texture units for this shader that cannot be used by the batch renderer.
StaticSATURATIONSaturation adjustment
Protected Static_Pack interleaved geometry custom function.
Protected Static_A prerender function happening just before the batch renderer is flushed.
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)
The plugin name associated for this instance, if any. Returns "batch" if the shader is disabled.
StaticADJUSTMENTSThe adjustments made into fragment shaders.
StaticbatchThe batch fragment shader source.
StaticbatchThe batch vertex shader source.
StaticdefaultReset the shader uniforms back to their initial values.
Static_Static_StaticcreateStaticcreateCreate a batch plugin for this sampler class.
The batch plugin class linked to this sampler class.
StaticinitializeInitialize the batch geometry with custom properties.
StaticregisterRegister the plugin for this sampler.
Optionaloptions: { force?: object } = {}The options
Optionalforce?: objectOverride the plugin of the same name that is already registered?
The base sampler shader exposes a simple sprite shader and all the framework to handle: