MaterialData
Defined in: render/material.ts:117
Properties
Section titled “Properties”blendMode
Section titled “blendMode”blendMode:
BlendMode
Defined in: render/material.ts:120
cachedBuffer_
Section titled “cachedBuffer_”cachedBuffer_:
Float32Array<ArrayBufferLike> |null
Defined in: render/material.ts:137
cachedIdx_
Section titled “cachedIdx_”cachedIdx_:
number
Defined in: render/material.ts:138
cull:
CullMode
Defined in: render/material.ts:123
depthTest
Section titled “depthTest”depthTest:
boolean
Defined in: render/material.ts:121
depthWrite
Section titled “depthWrite”depthWrite:
boolean
Defined in: render/material.ts:122
dirty_
Section titled “dirty_”dirty_:
boolean
Defined in: render/material.ts:136
overrides
Section titled “overrides”overrides:
Set<string>
Defined in: render/material.ts:133
parent?
Section titled “parent?”
optionalparent?:number
Defined in: render/material.ts:132
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
Section titled “shader”shader:
number
Defined in: render/material.ts:118
switches
Section titled “switches”switches:
Record<string,boolean>
Defined in: render/material.ts:125
Enabled static switches (the shader permutation was chosen for these at compile time).
uniforms
Section titled “uniforms”uniforms:
Map<string,UniformValue>
Defined in: render/material.ts:119