Aller au contenu

BindGroupDescriptor

data class BindGroupDescriptor(
    val layout: GPUBindGroupLayout, 
    val entries: List<GPUBindGroupEntry>, 
    val label: String = ""
) : GPUBindGroupDescriptor
Describes the layout and resources used to create a GPUBindGroup.

Constructors

BindGroupDescriptor

constructor(
    layout: GPUBindGroupLayout, 
    entries: List<GPUBindGroupEntry>, 
    label: String = ""
)

Properties

entries

open override val entries: List<GPUBindGroupEntry>
A list of entries describing the resources to expose to the shader for each binding described by the layout.

label

open override val label: String

layout

open override val layout: GPUBindGroupLayout
The GPUBindGroupLayout the entries of this bind group will conform to.