Type Alias: ComputationProps
ComputationProps =
Omit<ComputePipelineProps,"shader"> &object
Defined in: modules/engine/src/compute/computation.ts:44
Type Declaration
bindings?
optionalbindings?:Record<string,Binding>
Bindings
debugShaders?
optionaldebugShaders?:"never"|"errors"|"warnings"|"always"
Show shader source in browser?
defines?
optionaldefines?:Record<string,boolean|number>
Shader boolean or numeric preprocessor defines that configure shader code.
modules?
optionalmodules?:ShaderModule[]
Shader modules added to shader code.
pipelineFactory?
optionalpipelineFactory?:PipelineFactory
Factory used to create a ComputePipeline. Defaults to Device default factory.
plugins?
optionalplugins?:ShaderPlugin[]
Reusable shader assembly plugins resolved for WGSL compute assembly.
shaderAssembler?
optionalshaderAssembler?:ShaderAssembler
WGSL shader assembler. Defaults to the shared WGSL shader assembler.
shaderFactory?
optionalshaderFactory?:ShaderFactory
Factory used to create a Shader. Defaults to Device default factory.
shaderInputs?
optionalshaderInputs?:ShaderInputs
Shader inputs, used to generate uniform buffers and bindings.
source?
optionalsource?:string
sourceLanguage?
optionalsourceLanguage?:string
Input language compiled by the application-registered shader assembler transpiler.