RenderBundleEncoderDescriptor¶
data class RenderBundleEncoderDescriptor(
val colorFormats: List<GPUTextureFormat?>,
val depthReadOnly: Boolean = false,
val stencilReadOnly: Boolean = false,
val depthStencilFormat: GPUTextureFormat? = null,
val sampleCount: GPUSize32,
val label: String = ""
) : GPURenderBundleEncoderDescriptor
Constructors¶
RenderBundleEncoderDescriptor¶
Properties¶
colorFormats¶
open override val colorFormats: List<GPUTextureFormat?>
depthReadOnly¶
open override val 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.
depthStencilFormat¶
open override val depthStencilFormat: GPUTextureFormat?
label¶
sampleCount¶
open override val sampleCount: GPUSize32
stencilReadOnly¶
open override val 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.