Interface GPURenderPassLayout
interface GPURenderPassLayout {
colorFormats: Iterable<GPUTextureFormat, any, any>;
depthStencilFormat?: GPUTextureFormat;
label?: string;
sampleCount?: number;
}
colorFormats: Iterable<GPUTextureFormat, any, any>;
depthStencilFormat?: GPUTextureFormat;
label?: string;
sampleCount?: number;
}
Hierarchy
- GPUObjectDescriptorBase
- GPURenderPassLayout (view full)
Index
Properties
Properties
colorFormats
Optional
depthStencilFormat
The GPUTextureFormat of the depth/stencil attachment for this pass or bundle.
Optional
label
label?: string
The initial value of GPUObjectBase.label.
Optional
sampleCount
sampleCount ?: number
Number of samples per pixel in the attachments for this pass or bundle.
A list of the GPUTextureFormats of the color attachments for this pass or bundle.