Parameters used to create a RenderPipelineEntry.

interface RenderPipelineEntryParams {
    label?: string;
    useAsync?: boolean;
    shaders?: MaterialShaders;
    bindGroups?: MaterialBindGroups;
    cacheKey?: string;
    renderer: GPUCurtainsRenderer | GPUCameraRenderer | GPURenderer | GPUCurtains;
    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?: MaterialShaders

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.

Renderer used to create this PipelineEntry, or our GPUCurtains class object.

Geometry attributes to use with this render pipeline.