Skip to content

Documentation / scene / IRUniformValue

Interface: IRUniformValue ​

Defined in: libs/scene/src/utility/blueprint/material/ir.ts:104

Represents a uniform scalar or vector value in the intermediate representation

Remarks ​

Used to track uniform values that need to be passed to the shader at runtime. The value can be either a single number or a Float32Array for vector types.

Extended by ​

Properties ​

name ​

name: string

Defined in: libs/scene/src/utility/blueprint/material/ir.ts:105


type ​

type: string

Defined in: libs/scene/src/utility/blueprint/material/ir.ts:106


value ​

value: number[]

Defined in: libs/scene/src/utility/blueprint/material/ir.ts:107


minValue? ​

optional minValue?: number

Defined in: libs/scene/src/utility/blueprint/material/ir.ts:108


maxValue? ​

optional maxValue?: number

Defined in: libs/scene/src/utility/blueprint/material/ir.ts:109

Released under the MIT License.