EffectNodeContext
Defined in: packages/three-flatland/src/materials/MaterialEffect.ts:120
Context passed to an effect’s TSL node builder.
Type Parameters
Section titled “Type Parameters”S extends EffectSchema = EffectSchema
Properties
Section titled “Properties”attrs: { [K in string | number | symbol]: SchemaToNodeType<S[K]> }
Defined in: packages/three-flatland/src/materials/MaterialEffect.ts:126
TSL attribute nodes for each uniform schema field, keyed by unprefixed name.
constants
Section titled “constants”constants:
EffectConstants<S>
Defined in: packages/three-flatland/src/materials/MaterialEffect.ts:128
Read-only constants from factory function fields.
inputColor
Section titled “inputColor”inputColor:
Node<"vec4">
Defined in: packages/three-flatland/src/materials/MaterialEffect.ts:122
The previous color in the effect chain (vec4 node).
inputUV
Section titled “inputUV”inputUV:
Node<"vec2">
Defined in: packages/three-flatland/src/materials/MaterialEffect.ts:124
Atlas UV coordinates (vec2 node).