Android Studio Sign in

GPURenderPassDepthStencilAttachment


class GPURenderPassDepthStencilAttachment


Defines the depth and stencil attachment configuration 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-alpha02
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-alpha02
var depthClearValueFloat

depthLoadOp

Added in 1.0.0-alpha02
var depthLoadOpInt

depthReadOnly

Added in 1.0.0-alpha02
var depthReadOnlyBoolean

depthStoreOp

Added in 1.0.0-alpha02
var depthStoreOpInt

stencilClearValue

Added in 1.0.0-alpha02
var stencilClearValueInt

stencilLoadOp

Added in 1.0.0-alpha02
var stencilLoadOpInt

stencilReadOnly

Added in 1.0.0-alpha02
var stencilReadOnlyBoolean

stencilStoreOp

Added in 1.0.0-alpha02
var stencilStoreOpInt

view

Added in 1.0.0-alpha02
var viewGPUTextureView

The texture view used as the depth/stencil attachment.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.