Options used to create a RenderPipelineEntry.

interface RenderPipelineEntryOptions {
    label: string;
    useAsync: boolean;
    shaders: MaterialShaders;
    bindGroups: MaterialBindGroups;
    cacheKey: string;
    attributes: RenderMaterialAttributes;
    rendering: RenderMaterialRenderingOptions;
}

Hierarchy (view full)

Properties

label: string

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

useAsync: boolean

Whether to compile the pipeline asynchronously or not.

Shaders to use with this PipelineEntry.

bindGroups: MaterialBindGroups

Array of BindGroup to use with this pipeline.

cacheKey: string

Cache key defining the and bind groups buffer layouts, used to eventually get a PipelineEntry from cache.

Geometry attributes to use with this render pipeline.