GPURenderPassColorAttachment
public final class GPURenderPassColorAttachment
Defines a single color attachment configuration for a render pass.
Summary
Public constructors |
|---|
GPURenderPassColorAttachment( |
Public methods |
|
|---|---|
final @NonNull GPUColor |
|
final int |
|
final int |
|
final GPUTextureView |
|
final int |
|
final GPUTextureView |
getView()The texture view used as the color attachment, or {@code null} if discarded. |
final void |
setClearValue(@NonNull GPUColor clearValue) |
final void |
setDepthSlice(int depthSlice) |
final void |
setLoadOp(int loadOp) |
final void |
setResolveTarget(GPUTextureView resolveTarget) |
final void |
setStoreOp(int storeOp) |
final void |
setView(GPUTextureView view)The texture view used as the color attachment, or {@code null} if discarded. |
Public constructors
GPURenderPassColorAttachment
Added in 1.0.0-alpha02
public GPURenderPassColorAttachment(
@NonNull GPUColor clearValue,
GPUTextureView view,
int depthSlice,
GPUTextureView resolveTarget,
int loadOp,
int storeOp
)
Public methods
getView
Added in 1.0.0-alpha02
public final GPUTextureView getView()
The texture view used as the color attachment, or {@code null} if discarded.
setResolveTarget
Added in 1.0.0-alpha02
public final void setResolveTarget(GPUTextureView resolveTarget)
setView
Added in 1.0.0-alpha02
public final void setView(GPUTextureView view)
The texture view used as the color attachment, or {@code null} if discarded.