FatMaterial is a shader managing object designed for FatRenderer. It helps build shader and managing uniform (parameter) properties in the FatRendering context.

Basically this is a shader (internally a group of shader) which allows one to set various uniforms.

It is meant to be used with directDrawCustomXXX(...) functions. Not really meant for batching atm

Hierarchy

Implements

Constructors

Properties

dirty: boolean = true
preparedUniforms: Uniform[] = []
preperationShader: ManagedShader = null
shaderNoScissor: ManagedShader
shaderScissorCircle: ManagedShader
shaderScissorRect: ManagedShader
uniforms: Record<string, Uniform> = {}

Methods

Generated using TypeDoc