Base options of a Material

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

Hierarchy (view full)

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 GPUPipelineBase | pipeline asynchronously or not