RenderPassDepthStencilAttachment


public final class RenderPassDepthStencilAttachment


Defines the depth and stencil attachment configuration for a render pass.

Summary

Public constructors

RenderPassDepthStencilAttachment(
    @NonNull GPUTextureView view,
    int depthLoadOp,
    int depthStoreOp,
    float depthClearValue,
    boolean depthReadOnly,
    int stencilLoadOp,
    int stencilStoreOp,
    int stencilClearValue,
    boolean stencilReadOnly
)

Public methods

final float
final int
final boolean
final int
final int
final int
final boolean
final int
final @NonNull GPUTextureView

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

The texture view used as the depth/stencil attachment.

Public constructors

RenderPassDepthStencilAttachment

Added in 1.0.0-alpha01
public RenderPassDepthStencilAttachment(
    @NonNull GPUTextureView view,
    int depthLoadOp,
    int depthStoreOp,
    float depthClearValue,
    boolean depthReadOnly,
    int stencilLoadOp,
    int stencilStoreOp,
    int stencilClearValue,
    boolean stencilReadOnly
)

Public methods

getDepthClearValue

Added in 1.0.0-alpha01
public final float getDepthClearValue()

getDepthLoadOp

Added in 1.0.0-alpha01
public final int getDepthLoadOp()

getDepthReadOnly

Added in 1.0.0-alpha01
public final boolean getDepthReadOnly()

getDepthStoreOp

Added in 1.0.0-alpha01
public final int getDepthStoreOp()

getStencilClearValue

Added in 1.0.0-alpha01
public final int getStencilClearValue()

getStencilLoadOp

Added in 1.0.0-alpha01
public final int getStencilLoadOp()

getStencilReadOnly

Added in 1.0.0-alpha01
public final boolean getStencilReadOnly()

getStencilStoreOp

Added in 1.0.0-alpha01
public final int getStencilStoreOp()

getView

Added in 1.0.0-alpha01
public final @NonNull GPUTextureView getView()

The texture view used as the depth/stencil attachment.

setDepthClearValue

Added in 1.0.0-alpha01
public final void setDepthClearValue(float depthClearValue)

setDepthLoadOp

Added in 1.0.0-alpha01
public final void setDepthLoadOp(int depthLoadOp)

setDepthReadOnly

Added in 1.0.0-alpha01
public final void setDepthReadOnly(boolean depthReadOnly)

setDepthStoreOp

Added in 1.0.0-alpha01
public final void setDepthStoreOp(int depthStoreOp)

setStencilClearValue

Added in 1.0.0-alpha01
public final void setStencilClearValue(int stencilClearValue)

setStencilLoadOp

Added in 1.0.0-alpha01
public final void setStencilLoadOp(int stencilLoadOp)

setStencilReadOnly

Added in 1.0.0-alpha01
public final void setStencilReadOnly(boolean stencilReadOnly)

setStencilStoreOp

Added in 1.0.0-alpha01
public final void setStencilStoreOp(int stencilStoreOp)

setView

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

The texture view used as the depth/stencil attachment.