Skip to content

Class: PipelinePool

Constructors

Methods

Constructors

constructor

new PipelinePool(): PipelinePool

Returns

PipelinePool

Methods

getSharePipeline

getSharePipeline(shaderVariant): GPURenderPipeline

Parameters

NameType
shaderVariantstring

Returns

GPURenderPipeline

Defined in

src/gfx/graphics/webGpu/PipelinePool.ts:6


setSharePipeline

setSharePipeline(shaderVariant, pipeline): void

Parameters

NameType
shaderVariantstring
pipelineGPURenderPipeline

Returns

void

Defined in

src/gfx/graphics/webGpu/PipelinePool.ts:15