RenderBundleEncoderDescriptor


public final class RenderBundleEncoderDescriptor


A descriptor for creating a render bundle encoder.

Summary

Public constructors

RenderBundleEncoderDescriptor(
    String label,
    @NonNull int[] colorFormats,
    int depthStencilFormat,
    int sampleCount,
    boolean depthReadOnly,
    boolean stencilReadOnly
)

Public methods

final @NonNull int[]
final boolean
final int
final String

The label for the render bundle encoder.

final int
final boolean
final void
setColorFormats(@NonNull int[] colorFormats)
final void
setDepthReadOnly(boolean depthReadOnly)
final void
setDepthStencilFormat(int depthStencilFormat)
final void

The label for the render bundle encoder.

final void
setSampleCount(int sampleCount)
final void
setStencilReadOnly(boolean stencilReadOnly)

Public constructors

RenderBundleEncoderDescriptor

Added in 1.0.0-alpha01
public RenderBundleEncoderDescriptor(
    String label,
    @NonNull int[] colorFormats,
    int depthStencilFormat,
    int sampleCount,
    boolean depthReadOnly,
    boolean stencilReadOnly
)

Public methods

getColorFormats

Added in 1.0.0-alpha01
public final @NonNull int[] getColorFormats()

getDepthReadOnly

Added in 1.0.0-alpha01
public final boolean getDepthReadOnly()

getDepthStencilFormat

Added in 1.0.0-alpha01
public final int getDepthStencilFormat()

getLabel

Added in 1.0.0-alpha01
public final String getLabel()

The label for the render bundle encoder.

getSampleCount

Added in 1.0.0-alpha01
public final int getSampleCount()

getStencilReadOnly

Added in 1.0.0-alpha01
public final boolean getStencilReadOnly()

setColorFormats

Added in 1.0.0-alpha01
public final void setColorFormats(@NonNull int[] colorFormats)

setDepthReadOnly

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

setDepthStencilFormat

Added in 1.0.0-alpha01
public final void setDepthStencilFormat(int depthStencilFormat)

setLabel

Added in 1.0.0-alpha01
public final void setLabel(String label)

The label for the render bundle encoder.

setSampleCount

Added in 1.0.0-alpha01
public final void setSampleCount(int sampleCount)

setStencilReadOnly

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