Base parameters used to create a Material

interface MaterialBaseParams {
    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?: MaterialShaders

Shaders to use with this Material

useAsyncPipeline?: boolean

Whether to compile the Material GPUPipelineBase | pipeline asynchronously or not