GPURenderPassColorAttachment


class GPURenderPassColorAttachment


Describes a color attachment for a render pass.

Summary

Public constructors

GPURenderPassColorAttachment(
    clearValue: GPUColor,
    view: GPUTextureView?,
    depthSlice: Int,
    resolveTarget: GPUTextureView?,
    loadOp: Int,
    storeOp: Int
)

Public properties

GPUColor
Int
Int
GPUTextureView?
Int
GPUTextureView?

The texture view for the color attachment.

Public constructors

GPURenderPassColorAttachment

Added in 1.0.0-alpha04
GPURenderPassColorAttachment(
    clearValue: GPUColor,
    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-alpha04
var clearValueGPUColor

depthSlice

Added in 1.0.0-alpha04
var depthSliceInt

loadOp

Added in 1.0.0-alpha04
var loadOpInt

resolveTarget

Added in 1.0.0-alpha04
var resolveTargetGPUTextureView?

storeOp

Added in 1.0.0-alpha04
var storeOpInt

view

Added in 1.0.0-alpha04
var viewGPUTextureView?

The texture view for the color attachment.