Used as a base class to create a pipeline entry.
PipelineEntry roles are:

  • Patch the given Material shaders code and create the corresponding GPUShaderModule.
  • Create a GPUPipelineLayout | pipeline layout with the given bind groups
  • Create a GPU pipeline

Hierarchy (view full)

Constructors

Properties

type: string

The type of the PipelineEntry

renderer: Renderer

The Renderer used to create this PipelineEntry

index: number

Index of this PipelineEntry, i.e. creation order

layout: GPUPipelineLayout

GPUPipelineLayout | Pipeline layout created based on the given bind groups

pipeline: GPURenderPipeline | GPUComputePipeline

The GPU pipeline

The pipeline compilation status

Options used to create this PipelineEntry

bindGroups: AllowedBindGroups[]

bind groups used to patch the shaders and create the pipeline layout

Accessors

Methods