Skip to content

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

sizeOf

sizeOf(schema): number

Defined in: packages/typegpu/src/data/sizeOf.ts:168

Returns the size (in bytes) of data represented by the schema.

AnyData

number