• Public
  • Public/Protected
  • All

Class NodeMaterialBuildState

Class used to store node based material build state


  • NodeMaterialBuildState



attributesSearch playground for attributes

attributes: string[]

Gets the list of emitted attributes

compilationStringSearch playground for compilationString

compilationString: string

Gets the emitted compilation strings

constantsSearch playground for constants

constants: string[]

Gets the list of emitted constants

countersSearch playground for counters

counters: {}

Gets the list of emitted counters

Type declaration

  • [key: string]: number

extensionsSearch playground for extensions

extensions: {}

Gets the list of emitted extensions

Type declaration

  • [key: string]: string

functionsSearch playground for functions

functions: {}

Gets the list of emitted functions

Type declaration

  • [key: string]: string

samplersSearch playground for samplers

samplers: string[]

Gets the list of emitted samplers

sharedDataSearch playground for sharedData

Shared data between multiple NodeMaterialBuildState instances

supportUniformBuffersSearch playground for supportUniformBuffers

supportUniformBuffers: boolean

Gets or sets a boolean indicating if the current state can emit uniform buffers

targetSearch playground for target

Gets the target of the compilation state

uniformsSearch playground for uniforms

uniforms: string[]

Gets the list of emitted uniforms


finalizeSearch playground for finalize

  • Finalize the compilation strings


    Returns void


  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method