Skip to content

alignmentOf

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

Defined in: packages/typegpu/src/data/alignmentOf.ts:121

Returns the alignment (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.