Render Pass Descriptor
data class RenderPassDescriptor(val colorAttachments: List<RenderPassDescriptor.ColorAttachment> = listOf(), val depthStencilAttachment: RenderPassDescriptor.DepthStencilAttachment? = null, val occlusionQuerySet: QuerySet? = null, val timestampWrites: RenderPassTimestampWrites? = null, val maxDrawCount: GPUSize64, val label: String? = null)
Constructors
Link copied to clipboard
constructor(colorAttachments: List<RenderPassDescriptor.ColorAttachment> = listOf(), depthStencilAttachment: RenderPassDescriptor.DepthStencilAttachment? = null, occlusionQuerySet: QuerySet? = null, timestampWrites: RenderPassTimestampWrites? = null, maxDrawCount: GPUSize64, label: String? = null)
Types
Link copied to clipboard
data class ColorAttachment(val view: TextureView, val loadOp: LoadOp, val storeOp: StoreOp, val depthSlice: GPUIntegerCoordinate? = null, val resolveTarget: TextureView? = null, val clearValue: Color = Color(.0, .0, .0, .0))
Link copied to clipboard
data class DepthStencilAttachment(val view: TextureView, val depthClearValue: Float? = null, val depthLoadOp: LoadOp? = null, val depthStoreOp: StoreOp? = null, val depthReadOnly: Boolean = false, val stencilClearValue: GPUStencilValue, val stencilLoadOp: LoadOp? = null, val stencilStoreOp: StoreOp? = null, val stencilReadOnly: Boolean = false)