NodeMaterialOptimizer

Root class for all node material optimizers

Hierarchy

  • NodeMaterialOptimizer

Index

Methods

Methods

optimize

Find examples in Playground
  • Function used to optimize a NodeMaterial graph

    Parameters

    • vertexOutputNodes: NodeMaterialBlock[]

      defines the list of output nodes for the vertex shader

    • fragmentOutputNodes: NodeMaterialBlock[]

      defines the list of output nodes for the fragment shader

    Returns void

Generated using TypeDoc