GPURenderBundleEncoderDescriptor
public final class GPURenderBundleEncoderDescriptor
A descriptor for creating a render bundle encoder.
Summary
Public constructors |
|---|
GPURenderBundleEncoderDescriptor( |
Public methods |
|
|---|---|
final @NonNull int[] |
|
final boolean |
|
final int |
|
final String |
getLabel()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
GPURenderBundleEncoderDescriptor
Added in 1.0.0-alpha02
public GPURenderBundleEncoderDescriptor(
String label,
@NonNull int[] colorFormats,
int depthStencilFormat,
int sampleCount,
boolean depthReadOnly,
boolean stencilReadOnly
)
Public methods
getLabel
Added in 1.0.0-alpha02
public final String getLabel()
The label for the render bundle encoder.
setColorFormats
Added in 1.0.0-alpha02
public final void setColorFormats(@NonNull int[] colorFormats)
setDepthStencilFormat
Added in 1.0.0-alpha02
public final void setDepthStencilFormat(int depthStencilFormat)
setLabel
Added in 1.0.0-alpha02
public final void setLabel(String label)
The label for the render bundle encoder.
setStencilReadOnly
Added in 1.0.0-alpha02
public final void setStencilReadOnly(boolean stencilReadOnly)