GPUComputeState


public final class GPUComputeState

Describes the compute shader stage of a pipeline.

Summary

Public constructors

GPUComputeState

Added in 1.0.0-alpha05
public GPUComputeState(
 @NonNull GPUShaderModule module,
String entryPoint,
 @NonNull GPUConstantEntry[] constants
)

Public methods

getConstants

Added in 1.0.0-alpha05
public final @NonNull GPUConstantEntry[] getConstants()

An array of pipeline-overridable constants.

getEntryPoint

Added in 1.0.0-alpha05
public final StringgetEntryPoint()

getModule

Added in 1.0.0-alpha05
public final @NonNull GPUShaderModulegetModule()

The shader module containing the compute shader.

setConstants

Added in 1.0.0-alpha05
public final void setConstants(@NonNull GPUConstantEntry[] value)

An array of pipeline-overridable constants.

setEntryPoint

Added in 1.0.0-alpha05
public final void setEntryPoint(String value)

setModule

Added in 1.0.0-alpha05
public final void setModule(@NonNull GPUShaderModule value)

The shader module containing the compute shader.