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]:DeepReadonly<InferGPU<TDataType>>
Defined in
Section titled “Defined in”packages/typegpu/src/core/constant/tgpuConstant.ts:31
[$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:35
$
readonly$:DeepReadonly<InferGPU<TDataType>>
Defined in
Section titled “Defined in”packages/typegpu/src/core/constant/tgpuConstant.ts:33
readonlyvalue:DeepReadonly<InferGPU<TDataType>>
Defined in
Section titled “Defined in”packages/typegpu/src/core/constant/tgpuConstant.ts:32
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