TgpuConst
Defined in: packages/typegpu/src/core/constant/tgpuConstant.ts:14
Extends
Section titled “Extends”TgpuNamable
Type Parameters
Section titled “Type Parameters”• TDataType extends AnyWgslData
= AnyWgslData
Properties
Section titled “Properties”[$internal]
Section titled “[$internal]”
readonly
[$internal]:object
Defined in: packages/typegpu/src/core/constant/tgpuConstant.ts:19
dataType?
Section titled “dataType?”
optional
dataType:TDataType
Makes it differentiable on the type level. Does not exist at runtime.
$
readonly
$:InferGPU
<TDataType
>
Defined in: packages/typegpu/src/core/constant/tgpuConstant.ts:17
readonly
value:InferGPU
<TDataType
>
Defined in: packages/typegpu/src/core/constant/tgpuConstant.ts:16
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