RenderPassDepthStencilAttachment


class RenderPassDepthStencilAttachment


Defines the depth and stencil attachment configuration for a render pass.

Summary

Public constructors

RenderPassDepthStencilAttachment(
    view: GPUTextureView,
    depthLoadOp: Int,
    depthStoreOp: Int,
    depthClearValue: Float,
    depthReadOnly: Boolean,
    stencilLoadOp: Int,
    stencilStoreOp: Int,
    stencilClearValue: Int,
    stencilReadOnly: Boolean
)

Public constructors

RenderPassDepthStencilAttachment

Added in 1.0.0-alpha01
RenderPassDepthStencilAttachment(
    view: GPUTextureView,
    depthLoadOp: Int = LoadOp.Undefined,
    depthStoreOp: Int = StoreOp.Undefined,
    depthClearValue: Float = Constants.DEPTH_CLEAR_VALUE_UNDEFINED,
    depthReadOnly: Boolean = false,
    stencilLoadOp: Int = LoadOp.Undefined,
    stencilStoreOp: Int = StoreOp.Undefined,
    stencilClearValue: Int = 0,
    stencilReadOnly: Boolean = false
)

Public properties

depthClearValue

Added in 1.0.0-alpha01
var depthClearValueFloat

depthLoadOp

Added in 1.0.0-alpha01
var depthLoadOpInt

depthReadOnly

Added in 1.0.0-alpha01
var depthReadOnlyBoolean

depthStoreOp

Added in 1.0.0-alpha01
var depthStoreOpInt

stencilClearValue

Added in 1.0.0-alpha01
var stencilClearValueInt

stencilLoadOp

Added in 1.0.0-alpha01
var stencilLoadOpInt

stencilReadOnly

Added in 1.0.0-alpha01
var stencilReadOnlyBoolean

stencilStoreOp

Added in 1.0.0-alpha01
var stencilStoreOpInt

view

Added in 1.0.0-alpha01
var viewGPUTextureView

The texture view used as the depth/stencil attachment.