TgpuConst
Extends
Section titled “Extends”TgpuNamable
Type Parameters
Section titled “Type Parameters”• TDataType extends AnyWgslData = AnyWgslData
Properties
Section titled “Properties”[$gpuValueOf]
Section titled “[$gpuValueOf]”
readonly[$gpuValueOf]:InferGPU<TDataType>
Defined in
Section titled “Defined in”packages/typegpu/src/core/constant/tgpuConstant.ts:22
[$internal]
Section titled “[$internal]”
readonly[$internal]:object
dataType?
Section titled “dataType?”
optionaldataType:TDataType
Makes it differentiable on the type level. Does not exist at runtime.
Defined in
Section titled “Defined in”packages/typegpu/src/core/constant/tgpuConstant.ts:26
$
readonly$:InferGPU<TDataType>
Defined in
Section titled “Defined in”packages/typegpu/src/core/constant/tgpuConstant.ts:24
readonlyvalue:InferGPU<TDataType>
Defined in
Section titled “Defined in”packages/typegpu/src/core/constant/tgpuConstant.ts:23
Methods
Section titled “Methods”$name()
Section titled “$name()”$name(
label):this
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”this
Inherited from
Section titled “Inherited from”TgpuNamable.$name