NodeMaterialBuildStateSharedData

Class used to store shared data between 2 NodeMaterialBuildState

Hierarchy

  • NodeMaterialBuildStateSharedData

Index

Constructors

constructor

Find examples in Playground

Properties

bindableBlocks

Find examples in Playground
bindableBlocks: NodeMaterialBlock[]

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

blockingBlocks

Find examples in Playground
blockingBlocks: NodeMaterialBlock[]

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

blocksWithDefines

Find examples in Playground
blocksWithDefines: NodeMaterialBlock[]

List of blocks that can provide a define update

blocksWithFallbacks

Find examples in Playground
blocksWithFallbacks: NodeMaterialBlock[]

List of blocks that can provide a compilation fallback

buildId

Find examples in Playground
buildId: number

Build Id used to avoid multiple recompilations

checks

Find examples in Playground
checks: object

List of compilation checks

Type declaration

defineNames

Find examples in Playground
defineNames: object

List of emitted defines

Type declaration

  • [key: string]: number

emitComments

Find examples in Playground
emitComments: boolean

Should emit comments?

hints

Find examples in Playground
hints: object

Gets the compilation hints emitted at compilation time

Type declaration

  • needAlphaBlending: boolean
  • needAlphaTesting: boolean
  • needWorldViewMatrix: boolean
  • needWorldViewProjectionMatrix: boolean

repeatableContentBlocks

Find examples in Playground
repeatableContentBlocks: NodeMaterialBlock[]

List of blocks that can provide a repeatable content

uniformConnectionPoints

Find examples in Playground
uniformConnectionPoints: NodeMaterialConnectionPoint[]

Uniform connection points

variableNames

Find examples in Playground
variableNames: object

List of emitted variables

Type declaration

  • [key: string]: number

varyingDeclaration

Find examples in Playground
varyingDeclaration: string

Gets the varying declaration string

varyings

Find examples in Playground
varyings: string[]

Gets the list of emitted varyings

verbose

Find examples in Playground
verbose: boolean

Emit build activity

Methods

emitErrors

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

    Returns void

Generated using TypeDoc