GPURenderPassDescriptor


class GPURenderPassDescriptor


A descriptor for starting a render pass.

Summary

Public constructors

GPURenderPassDescriptor(
    label: String?,
    colorAttachments: Array<GPURenderPassColorAttachment>,
    depthStencilAttachment: GPURenderPassDepthStencilAttachment?,
    occlusionQuerySet: GPUQuerySet?,
    timestampWrites: GPUPassTimestampWrites?,
    renderPassMaxDrawCount: GPURenderPassMaxDrawCount?
)

Public constructors

GPURenderPassDescriptor

Added in 1.0.0-alpha02
GPURenderPassDescriptor(
    label: String? = null,
    colorAttachments: Array<GPURenderPassColorAttachment> = arrayOf(),
    depthStencilAttachment: GPURenderPassDepthStencilAttachment? = null,
    occlusionQuerySet: GPUQuerySet? = null,
    timestampWrites: GPUPassTimestampWrites? = null,
    renderPassMaxDrawCount: GPURenderPassMaxDrawCount? = null
)

Public properties

label

Added in 1.0.0-alpha02
var labelString?

The label for the render pass.

occlusionQuerySet

Added in 1.0.0-alpha02
var occlusionQuerySetGPUQuerySet?

renderPassMaxDrawCount

Added in 1.0.0-alpha02
var renderPassMaxDrawCountGPURenderPassMaxDrawCount?

timestampWrites

Added in 1.0.0-alpha02
var timestampWritesGPUPassTimestampWrites?