ComputeState


class ComputeState


The configuration for the compute shader stage.

Summary

Public constructors

ComputeState(
    module: GPUShaderModule,
    entryPoint: String?,
    constants: Array<ConstantEntry>
)

Public properties

Array<ConstantEntry>

An array of constant overrides for the compute shader.

String?
GPUShaderModule

The shader module containing the compute entry point.

Public constructors

ComputeState

Added in 1.0.0-alpha01
ComputeState(
    module: GPUShaderModule,
    entryPoint: String? = null,
    constants: Array<ConstantEntry> = arrayOf()
)

Public properties

constants

Added in 1.0.0-alpha01
var constantsArray<ConstantEntry>

An array of constant overrides for the compute shader.

entryPoint

Added in 1.0.0-alpha01
var entryPointString?

module

Added in 1.0.0-alpha01
var moduleGPUShaderModule

The shader module containing the compute entry point.