TgpuDeclare
Defined in: packages/typegpu/src/core/declare/tgpuDeclare.ts:17
Extra declaration that shall be included in final WGSL code, when resolving objects that use it.
Properties
Section titled “Properties”[$gpuValueOf]
Section titled “[$gpuValueOf]”
readonly[$gpuValueOf]:void
Defined in: packages/typegpu/src/core/declare/tgpuDeclare.ts:21
[$internal]
Section titled “[$internal]”
readonly[$internal]:true
Defined in: packages/typegpu/src/core/declare/tgpuDeclare.ts:18
$
readonly$:void
Defined in: packages/typegpu/src/core/declare/tgpuDeclare.ts:20
Methods
Section titled “Methods”$uses()
Section titled “$uses()”$uses(
dependencyMap):this
Defined in: packages/typegpu/src/core/declare/tgpuDeclare.ts:19
Parameters
Section titled “Parameters”dependencyMap
Section titled “dependencyMap”Record<string, unknown>
Returns
Section titled “Returns”this
© Software Mansion 2026. All trademarks and copyrights belong to their respective owners. Read about our Privacy Policy.