ChannelNodeContext
Defined in: packages/three-flatland/src/materials/MaterialEffect.ts:132
Context passed to a provider effect’s channel node builder.
Type Parameters
Section titled “Type Parameters”S extends EffectSchema = EffectSchema
Properties
Section titled “Properties”atlasUV
Section titled “atlasUV”atlasUV:
Node<"vec2">
Defined in: packages/three-flatland/src/materials/MaterialEffect.ts:134
Atlas UV coordinates (vec2 node).
attrs: { [K in string | number | symbol]: SchemaToNodeType<S[K]> }
Defined in: packages/three-flatland/src/materials/MaterialEffect.ts:138
TSL attribute nodes for each uniform schema field, keyed by unprefixed name.
baseTexture
Section titled “baseTexture”baseTexture:
Texture<unknown,TextureEventMap> |null
Defined in: packages/three-flatland/src/materials/MaterialEffect.ts:140
Base sprite texture (for auto-normal generation, etc.). Null if unavailable.
constants
Section titled “constants”constants:
EffectConstants<S>
Defined in: packages/three-flatland/src/materials/MaterialEffect.ts:136
Read-only constants from factory function fields.