Skip to content

MaterialData

Defined in: material.ts:112

blendMode: BlendMode

Defined in: material.ts:115


cachedBuffer_: Float32Array<ArrayBufferLike> | null

Defined in: material.ts:132


cachedIdx_: number

Defined in: material.ts:133


cull: CullMode

Defined in: material.ts:118


depthTest: boolean

Defined in: material.ts:116


depthWrite: boolean

Defined in: material.ts:117


dirty_: boolean

Defined in: material.ts:131


overrides: Set<string>

Defined in: material.ts:128


optional parent?: number

Defined in: material.ts:127

Instance parenting (UE MaterialInstanceConstant): when set, this material inherits the parent’s shader + render state + params, and only its own diffs are stored — uniforms holds just the overridden params, and overrides names the overridden render-state fields (‘blendMode’ | ‘depthTest’ | ‘depthWrite’ | ‘cull’). Undefined on a base material.


shader: number

Defined in: material.ts:113


switches: Record<string, boolean>

Defined in: material.ts:120

Enabled static switches (the shader permutation was chosen for these at compile time).


uniforms: Map<string, UniformValue>

Defined in: material.ts:114