RenderBundleEncoderDescriptor


class RenderBundleEncoderDescriptor


A descriptor for creating a render bundle encoder.

Summary

Public constructors

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

Public properties

IntArray
Boolean
Int
String?

The label for the render bundle encoder.

Int
Boolean

Public constructors

RenderBundleEncoderDescriptor

Added in 1.0.0-alpha01
RenderBundleEncoderDescriptor(
    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-alpha01
var colorFormatsIntArray

depthReadOnly

Added in 1.0.0-alpha01
var depthReadOnlyBoolean

depthStencilFormat

Added in 1.0.0-alpha01
var depthStencilFormatInt

label

Added in 1.0.0-alpha01
var labelString?

The label for the render bundle encoder.

sampleCount

Added in 1.0.0-alpha01
var sampleCountInt

stencilReadOnly

Added in 1.0.0-alpha01
var stencilReadOnlyBoolean