UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

13 lines (12 loc) 522 B
import type { NodeMaterialBlock } from "../nodeMaterialBlock.js"; /** * Root class for all node material optimizers */ export declare class NodeMaterialOptimizer { /** * Function used to optimize a NodeMaterial graph * @param _vertexOutputNodes defines the list of output nodes for the vertex shader * @param _fragmentOutputNodes defines the list of output nodes for the fragment shader */ optimize(_vertexOutputNodes: NodeMaterialBlock[], _fragmentOutputNodes: NodeMaterialBlock[]): void; }