TgpuComputeFn
Defined in: packages/typegpu/src/core/function/tgpuComputeFn.ts:73
Extends
Section titled “Extends”TgpuNamable
Type Parameters
Section titled “Type Parameters”• 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:77
readonly
shell:TgpuComputeFnShellHeader
<ComputeIn
>
Defined in: packages/typegpu/src/core/function/tgpuComputeFn.ts:78
Methods
Section titled “Methods”$name()
Section titled “$name()”$name(
label
):this
Defined in: packages/typegpu/src/shared/meta.ts:83
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:80
Parameters
Section titled “Parameters”dependencyMap
Section titled “dependencyMap”Record
<string
, unknown
>
Returns
Section titled “Returns”this