GPURenderPassDepthStencilAttachment


class GPURenderPassDepthStencilAttachment


Describes a depth-stencil attachment for a render pass.

Summary

Public constructors

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

Public constructors

GPURenderPassDepthStencilAttachment

Added in 1.0.0-alpha05
GPURenderPassDepthStencilAttachment(
    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-alpha05
var depthClearValue: Float

depthLoadOp

Added in 1.0.0-alpha05
var depthLoadOp: Int

depthReadOnly

Added in 1.0.0-alpha05
var depthReadOnly: Boolean

depthStoreOp

Added in 1.0.0-alpha05
var depthStoreOp: Int

stencilClearValue

Added in 1.0.0-alpha05
var stencilClearValue: Int

stencilLoadOp

Added in 1.0.0-alpha05
var stencilLoadOp: Int

stencilReadOnly

Added in 1.0.0-alpha05
var stencilReadOnly: Boolean

stencilStoreOp

Added in 1.0.0-alpha05
var stencilStoreOp: Int

view

Added in 1.0.0-alpha05
var view: GPUTextureView

The texture view for the depth-stencil attachment.