Skip to content

sizeOf

const sizeOf: TgpuComptime<(schema) => number>

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

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

© Software Mansion 2026. All trademarks and copyrights belong to their respective owners. Read about our Privacy Policy.