GPURenderPassColorAttachment
public final class GPURenderPassColorAttachment
Describes a color attachment for a render pass.
Summary
Nested types |
|---|
public final class GPURenderPassColorAttachment.BuilderBuilder for |
Public constructors |
|---|
GPURenderPassColorAttachment( |
Public methods |
|
|---|---|
final @NonNull GPUColor |
|
final int |
|
final int |
|
final GPUTextureView |
|
final int |
|
final GPUTextureView |
getView()The texture view for the color attachment. |
final void |
setClearValue(@NonNull GPUColor value) |
final void |
setDepthSlice(int value) |
final void |
setLoadOp(int value) |
final void |
setResolveTarget(GPUTextureView value) |
final void |
setStoreOp(int value) |
final void |
setView(GPUTextureView value)The texture view for the color attachment. |
Public constructors
GPURenderPassColorAttachment
Added in 1.0.0-alpha05
public GPURenderPassColorAttachment(
@NonNull GPUColor clearValue,
GPUTextureView view,
int depthSlice,
GPUTextureView resolveTarget,
int loadOp,
int storeOp
)
Public methods
getView
Added in 1.0.0-alpha05
public final GPUTextureView getView()
The texture view for the color attachment.
setView
Added in 1.0.0-alpha05
public final void setView(GPUTextureView value)
The texture view for the color attachment.