Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used to store shared data between 2 NodeMaterialBuildState

Hierarchy

  • NodeMaterialBuildStateSharedData

Index

Constructors

Properties

allowEmptyVertexProgram: boolean

Is vertex program allowed to be empty?

animatedInputs: InputBlock[]

Gets the list of animated inputs

bindableBlocks: NodeMaterialBlock[]

Bindable blocks (Blocks that need to set data to the effect)

blockingBlocks: NodeMaterialBlock[]

List of blocks that can block the isReady function for the material

blocksWithDefines: NodeMaterialBlock[]

List of blocks that can provide a define update

blocksWithFallbacks: NodeMaterialBlock[]

List of blocks that can provide a compilation fallback

buildId: number

Build Id used to avoid multiple recompilations

checks: { emitFragment: boolean; emitVertex: boolean; notConnectedNonOptionalInputs: NodeMaterialConnectionPoint[] }

List of compilation checks

Type declaration

defineNames: {}

List of emitted defines

Type declaration

  • [key: string]: number
dynamicUniformBlocks: NodeMaterialBlock[]

List of blocks that can provide a dynamic list of uniforms

emitComments: boolean

Should emit comments?

forcedBindableBlocks: NodeMaterialBlock[]

Bindable blocks (Blocks that need to set data to the effect) that will always be called (by bindForSubMesh), contrary to bindableBlocks that won't be called if _mustRebind() returns false

fragmentOutputNodes: readonly NodeMaterialBlock[]

List of the fragment output nodes

hints: { needAlphaBlending: boolean; needAlphaTesting: boolean; needWorldViewMatrix: boolean; needWorldViewProjectionMatrix: boolean }

Gets the compilation hints emitted at compilation time

Type declaration

  • needAlphaBlending: boolean
  • needAlphaTesting: boolean
  • needWorldViewMatrix: boolean
  • needWorldViewProjectionMatrix: boolean
inputBlocks: InputBlock[]

Input blocks

repeatableContentBlocks: NodeMaterialBlock[]

List of blocks that can provide a repeatable content

scene: Scene

Gets or sets the hosting scene

temps: string[]

Gets the list of emitted varyings

textureBlocks: NodeMaterialTextureBlocks[]

Input blocks

variableNames: {}

List of emitted variables

Type declaration

  • [key: string]: number
varyingDeclaration: string

Gets the varying declaration string

varyings: string[]

Gets the list of emitted varyings

verbose: boolean

Emit build activity

Methods

  • emitErrors(): void
  • Emits console errors and exceptions if there is a failing check

    Returns void

Legend

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

Settings

Theme