Base parameters used to create a Material.

interface MaterialBaseParams {
    label?: string;
    shaders?: MaterialShaders;
    useAsyncPipeline?: boolean;
}

Hierarchy (View Summary)

Properties

label?: string

The label of the Material, sent to various GPU objects for debugging purpose.

shaders?: MaterialShaders

Shaders to use with this Material.

useAsyncPipeline?: boolean

Whether to compile the Material GPURenderPipeline or GPUComputePipeline asynchronously or not.