GPURenderBundleEncoderDescriptor


class GPURenderBundleEncoderDescriptor


Describes a render bundle encoder.

Summary

Public constructors

GPURenderBundleEncoderDescriptor(
    label: String?,
    colorFormats: IntArray,
    depthStencilFormat: Int,
    sampleCount: Int,
    depthReadOnly: Boolean,
    stencilReadOnly: Boolean
)

Public constructors

GPURenderBundleEncoderDescriptor

Added in 1.0.0-alpha05
GPURenderBundleEncoderDescriptor(
    label: String? = null,
    colorFormats: IntArray = intArrayOf(),
    depthStencilFormat: Int = TextureFormat.Undefined,
    sampleCount: Int = 1,
    depthReadOnly: Boolean = false,
    stencilReadOnly: Boolean = false
)

Public properties

colorFormats

Added in 1.0.0-alpha05
var colorFormats: IntArray

depthReadOnly

Added in 1.0.0-alpha05
var depthReadOnly: Boolean

depthStencilFormat

Added in 1.0.0-alpha05
var depthStencilFormat: Int

label

Added in 1.0.0-alpha05
var label: String?

A human-readable label for debugging.

sampleCount

Added in 1.0.0-alpha05
var sampleCount: Int

stencilReadOnly

Added in 1.0.0-alpha05
var stencilReadOnly: Boolean