GPURenderPassDepthStencilAttachment
public final class GPURenderPassDepthStencilAttachment
Defines the depth and stencil attachment configuration for a render pass.
Summary
Public constructors |
|---|
GPURenderPassDepthStencilAttachment( |
Public methods |
|
|---|---|
final float |
|
final int |
|
final boolean |
|
final int |
|
final int |
|
final int |
|
final boolean |
|
final int |
|
final @NonNull GPUTextureView |
getView()The texture view used as the depth/stencil attachment. |
final void |
setDepthClearValue(float depthClearValue) |
final void |
setDepthLoadOp(int depthLoadOp) |
final void |
setDepthReadOnly(boolean depthReadOnly) |
final void |
setDepthStoreOp(int depthStoreOp) |
final void |
setStencilClearValue(int stencilClearValue) |
final void |
setStencilLoadOp(int stencilLoadOp) |
final void |
setStencilReadOnly(boolean stencilReadOnly) |
final void |
setStencilStoreOp(int stencilStoreOp) |
final void |
setView(@NonNull GPUTextureView view)The texture view used as the depth/stencil attachment. |
Public constructors
GPURenderPassDepthStencilAttachment
Added in 1.0.0-alpha02
public GPURenderPassDepthStencilAttachment(
@NonNull GPUTextureView view,
int depthLoadOp,
int depthStoreOp,
float depthClearValue,
boolean depthReadOnly,
int stencilLoadOp,
int stencilStoreOp,
int stencilClearValue,
boolean stencilReadOnly
)
Public methods
getView
Added in 1.0.0-alpha02
public final @NonNull GPUTextureView getView()
The texture view used as the depth/stencil attachment.
setDepthClearValue
Added in 1.0.0-alpha02
public final void setDepthClearValue(float depthClearValue)
setStencilClearValue
Added in 1.0.0-alpha02
public final void setStencilClearValue(int stencilClearValue)
setStencilReadOnly
Added in 1.0.0-alpha02
public final void setStencilReadOnly(boolean stencilReadOnly)
setView
Added in 1.0.0-alpha02
public final void setView(@NonNull GPUTextureView view)
The texture view used as the depth/stencil attachment.