Base options of a Material.

interface MaterialBaseOptions {
    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 to use with this Material.

useAsyncPipeline?: boolean

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