RenderPassColorAttachment


public final class RenderPassColorAttachment


Defines a single color attachment configuration for a render pass.

Summary

Public constructors

RenderPassColorAttachment(
    @NonNull Color clearValue,
    GPUTextureView view,
    int depthSlice,
    GPUTextureView resolveTarget,
    int loadOp,
    int storeOp
)

Public methods

final @NonNull Color
final int
final int
final GPUTextureView
final int
final GPUTextureView

The texture view used as the color attachment.

final void
final void
setDepthSlice(int depthSlice)
final void
setLoadOp(int loadOp)
final void
final void
setStoreOp(int storeOp)
final void

The texture view used as the color attachment.

Public constructors

RenderPassColorAttachment

Added in 1.0.0-alpha01
public RenderPassColorAttachment(
    @NonNull Color clearValue,
    GPUTextureView view,
    int depthSlice,
    GPUTextureView resolveTarget,
    int loadOp,
    int storeOp
)

Public methods

getClearValue

Added in 1.0.0-alpha01
public final @NonNull Color getClearValue()

getDepthSlice

Added in 1.0.0-alpha01
public final int getDepthSlice()

getLoadOp

Added in 1.0.0-alpha01
public final int getLoadOp()

getResolveTarget

Added in 1.0.0-alpha01
public final GPUTextureView getResolveTarget()

getStoreOp

Added in 1.0.0-alpha01
public final int getStoreOp()

getView

Added in 1.0.0-alpha01
public final GPUTextureView getView()

The texture view used as the color attachment.

setClearValue

Added in 1.0.0-alpha01
public final void setClearValue(@NonNull Color clearValue)

setDepthSlice

Added in 1.0.0-alpha01
public final void setDepthSlice(int depthSlice)

setLoadOp

Added in 1.0.0-alpha01
public final void setLoadOp(int loadOp)

setResolveTarget

Added in 1.0.0-alpha01
public final void setResolveTarget(GPUTextureView resolveTarget)

setStoreOp

Added in 1.0.0-alpha01
public final void setStoreOp(int storeOp)

setView

Added in 1.0.0-alpha01
public final void setView(GPUTextureView view)

The texture view used as the color attachment.