Skip to content

Sign up to be notified when the ShaderHunt platform is available, along with interactive examples teaching TypeGPU from the ground up.

ptrStorage

ptrStorage<T, TAccess>(inner, access): Ptr<"storage", T, TAccess>

Defined in: packages/typegpu/src/data/ptr.ts:41

T extends AnyData

TAccess extends "read" | "read-write" = "read"

T

TAccess = ...

Ptr<"storage", T, TAccess>