Parameters used to create a RenderPipelineEntry

interface RenderPipelineEntryParams {
    label?: string;
    useAsync?: boolean;
    shaders?: MaterialShaders;
    renderer: GPUCurtainsRenderer | GPUCameraRenderer | GPURenderer | GPUCurtains;
    bindGroups: MaterialBindGroups;
    attributes: RenderMaterialAttributes;
    rendering: RenderMaterialRenderingOptions;
    cacheKey: string;
}

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

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

bindGroups: MaterialBindGroups

Array of BindGroup to use with this pipeline

Geometry attributes to use with this render pipeline

cacheKey: string

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