Skip to content

Documentation / @ripl/webgpu / SCENE_UNIFORM_SIZE

Variable: SCENE_UNIFORM_SIZE

const SCENE_UNIFORM_SIZE: 80 = 80

Defined in: webgpu/src/pipeline.ts:10

Size in bytes of the scene uniform buffer: mat4(64) + vec3(12) + f32(4) = 80 bytes, aligned to 16 = 80.