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.
getModule
Added in 1.0.0-alpha05
public final @NonNull GPUShaderModule getModule()
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.
setModule
Added in 1.0.0-alpha05
public final void setModule(@NonNull GPUShaderModule value)
The shader module containing the compute shader.
