RenderPassLayout¶
data class RenderPassLayout(
val colorFormats: List<GPUTextureFormat?>,
val depthStencilFormat: GPUTextureFormat? = null,
val sampleCount: GPUSize32,
val label: String = ""
) : GPURenderPassLayout
Constructors¶
RenderPassLayout¶
Properties¶
colorFormats¶
open override val colorFormats: List<GPUTextureFormat?>
A list of the GPUTextureFormats of the color attachments for this pass or bundle.
depthStencilFormat¶
open override val depthStencilFormat: GPUTextureFormat?
The GPUTextureFormat of the depth/stencil attachment for this pass or bundle.
label¶
sampleCount¶
open override val sampleCount: GPUSize32
Number of samples per pixel in the attachments for this pass or bundle.