RenderPassColorAttachment


class RenderPassColorAttachment


Defines a single color attachment configuration for a render pass.

Summary

Public constructors

RenderPassColorAttachment(
    clearValue: Color,
    view: GPUTextureView?,
    depthSlice: Int,
    resolveTarget: GPUTextureView?,
    loadOp: Int,
    storeOp: Int
)

Public properties

Color
Int
Int
GPUTextureView?
Int
GPUTextureView?

The texture view used as the color attachment.

Public constructors

RenderPassColorAttachment

Added in 1.0.0-alpha01
RenderPassColorAttachment(
    clearValue: Color,
    view: GPUTextureView? = null,
    depthSlice: Int = Constants.DEPTH_SLICE_UNDEFINED,
    resolveTarget: GPUTextureView? = null,
    loadOp: Int = LoadOp.Undefined,
    storeOp: Int = StoreOp.Undefined
)

Public properties

clearValue

Added in 1.0.0-alpha01
var clearValueColor

depthSlice

Added in 1.0.0-alpha01
var depthSliceInt

loadOp

Added in 1.0.0-alpha01
var loadOpInt

resolveTarget

Added in 1.0.0-alpha01
var resolveTargetGPUTextureView?

storeOp

Added in 1.0.0-alpha01
var storeOpInt

view

Added in 1.0.0-alpha01
var viewGPUTextureView?

The texture view used as the color attachment.