Aller au contenu

PipelineLayoutDescriptor

data class PipelineLayoutDescriptor(
    val bindGroupLayouts: List<GPUBindGroupLayout?>, 
    val immediateSize: GPUSize32, 
    val label: String = ""
) : GPUPipelineLayoutDescriptor
Lists the GPUBindGroupLayouts used by a pipeline. See [GPUPipelineLayoutDescriptor in the WebGPU specification](https://www.w3.org/TR/webgpu/#dictdef-gpupipelinelayoutdescriptor).

Constructors

PipelineLayoutDescriptor

constructor(
    bindGroupLayouts: List<GPUBindGroupLayout?>, 
    immediateSize: GPUSize32, 
    label: String = ""
)

Properties

bindGroupLayouts

open override val bindGroupLayouts: List<GPUBindGroupLayout?>
A list of optional GPUBindGroupLayouts the pipeline will use. Each element corresponds to a @group attribute in the GPUShaderModule, with the Nth element corresponding with @group(N).

immediateSize

open override val immediateSize: GPUSize32
The size, in bytes, of the immediate data range used by the pipeline.

label

open override val label: String