GPURenderPassColorAttachment


public final class GPURenderPassColorAttachment


Describes a color attachment for a render pass.

Summary

Nested types

Builder for GPURenderPassColorAttachment.

Public constructors

GPURenderPassColorAttachment(
    @NonNull GPUColor clearValue,
    GPUTextureView view,
    int depthSlice,
    GPUTextureView resolveTarget,
    int loadOp,
    int storeOp
)

Public methods

final @NonNull GPUColor
final int
final int
final GPUTextureView
final int
final GPUTextureView

The texture view for the color attachment.

final void
final void
setDepthSlice(int value)
final void
setLoadOp(int value)
final void
final void
setStoreOp(int value)
final void

The texture view for the color attachment.

Public constructors

GPURenderPassColorAttachment

Added in 1.0.0-alpha04
public GPURenderPassColorAttachment(
    @NonNull GPUColor clearValue,
    GPUTextureView view,
    int depthSlice,
    GPUTextureView resolveTarget,
    int loadOp,
    int storeOp
)

Public methods

getClearValue

Added in 1.0.0-alpha04
public final @NonNull GPUColor getClearValue()

getDepthSlice

Added in 1.0.0-alpha04
public final int getDepthSlice()

getLoadOp

Added in 1.0.0-alpha04
public final int getLoadOp()

getResolveTarget

Added in 1.0.0-alpha04
public final GPUTextureView getResolveTarget()

getStoreOp

Added in 1.0.0-alpha04
public final int getStoreOp()

getView

Added in 1.0.0-alpha04
public final GPUTextureView getView()

The texture view for the color attachment.

setClearValue

Added in 1.0.0-alpha04
public final void setClearValue(@NonNull GPUColor value)

setDepthSlice

Added in 1.0.0-alpha04
public final void setDepthSlice(int value)

setLoadOp

Added in 1.0.0-alpha04
public final void setLoadOp(int value)

setResolveTarget

Added in 1.0.0-alpha04
public final void setResolveTarget(GPUTextureView value)

setStoreOp

Added in 1.0.0-alpha04
public final void setStoreOp(int value)

setView

Added in 1.0.0-alpha04
public final void setView(GPUTextureView value)

The texture view for the color attachment.