Interface GPURenderBundleEncoderDescriptor
interface GPURenderBundleEncoderDescriptor {
colorFormats: Iterable<GPUTextureFormat>;
depthReadOnly?: boolean;
depthStencilFormat?: GPUTextureFormat;
label?: string;
sampleCount?: number;
stencilReadOnly?: boolean;
}
colorFormats: Iterable<GPUTextureFormat>;
depthReadOnly?: boolean;
depthStencilFormat?: GPUTextureFormat;
label?: string;
sampleCount?: number;
stencilReadOnly?: boolean;
}
Hierarchy
- GPURenderPassLayout
- GPURenderBundleEncoderDescriptor (View Summary)
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.
See read-only depth-stencil.
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.
See read-only depth-stencil.
A list of the GPUTextureFormats of the color attachments for this pass or bundle.