GPUComputeState


class GPUComputeState


The configuration for the compute shader stage.

Summary

Public constructors

GPUComputeState(
    module: GPUShaderModule,
    entryPoint: String?,
    constants: Array<GPUConstantEntry>
)

Public properties

Array<GPUConstantEntry>

An array of constant overrides for the compute shader.

String?
GPUShaderModule

The shader module containing the compute entry point.

Public constructors

GPUComputeState

Added in 1.0.0-alpha02
GPUComputeState(
    module: GPUShaderModule,
    entryPoint: String? = null,
    constants: Array<GPUConstantEntry> = arrayOf()
)

Public properties

constants

Added in 1.0.0-alpha02
var constantsArray<GPUConstantEntry>

An array of constant overrides for the compute shader.

entryPoint

Added in 1.0.0-alpha02
var entryPointString?

module

Added in 1.0.0-alpha02
var moduleGPUShaderModule

The shader module containing the compute entry point.