TgpuComputeFn
Defined in: packages/typegpu/src/core/function/tgpuComputeFn.ts:46
Extends
Section titled “Extends”TgpuNamable
Type Parameters
Section titled “Type Parameters”ComputeIn
Section titled “ComputeIn”ComputeIn extends IORecord<AnyComputeBuiltin> = any
Properties
Section titled “Properties”[$internal]
Section titled “[$internal]”
readonly[$internal]:true
Defined in: packages/typegpu/src/core/function/tgpuComputeFn.ts:50
readonlyshell:TgpuComputeFnShellHeader<ComputeIn>
Defined in: packages/typegpu/src/core/function/tgpuComputeFn.ts:51
Methods
Section titled “Methods”$name()
Section titled “$name()”$name(
label):this
Defined in: packages/typegpu/src/shared/meta.ts:97
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”this
Inherited from
Section titled “Inherited from”TgpuNamable.$name
$uses()
Section titled “$uses()”$uses(
dependencyMap):this
Defined in: packages/typegpu/src/core/function/tgpuComputeFn.ts:53
Parameters
Section titled “Parameters”dependencyMap
Section titled “dependencyMap”Record<string, unknown>
Returns
Section titled “Returns”this