Interface GPURenderBundleEncoderDescriptor
interface GPURenderBundleEncoderDescriptor {
colorFormats: Iterable<GPUTextureFormat, any, any>;
depthReadOnly?: boolean;
depthStencilFormat?: GPUTextureFormat;
label?: string;
sampleCount?: number;
stencilReadOnly?: boolean;
}
colorFormats: Iterable<GPUTextureFormat, any, any>;
depthReadOnly?: boolean;
depthStencilFormat?: GPUTextureFormat;
label?: string;
sampleCount?: number;
stencilReadOnly?: boolean;
}
Hierarchy
- GPURenderPassLayout
- GPURenderBundleEncoderDescriptor (view full)
Index
Properties
colorFormats
Optional
depthReadOnly
depthReadOnly ?: boolean
If true
, indicates that the render bundle does not modify the depth component of the
GPURenderPassDepthStencilAttachment of any render pass the render bundle is executed
in.
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.
Optional
stencilReadOnly
stencilReadOnly ?: boolean
If true
, indicates that the render bundle does not modify the stencil component of the
GPURenderPassDepthStencilAttachment of any render pass the render bundle is executed
in.
A list of the GPUTextureFormats of the color attachments for this pass or bundle.