Const
Floats per GPU cluster descriptor (64 bytes). Layout (std430-friendly), matching the Cluster struct in the cluster shaders:
Cluster
[0..3] boundsCenter.xyz, boundsRadius (f32)[4..7] coneAxis.xyz, coneCutoff (f32)[8..11] coneApex.xyz, _pad (f32)[12..15] vertexOffset, triangleOffset, (u32) vertexCount, triangleCount Copy
[0..3] boundsCenter.xyz, boundsRadius (f32)[4..7] coneAxis.xyz, coneCutoff (f32)[8..11] coneApex.xyz, _pad (f32)[12..15] vertexOffset, triangleOffset, (u32) vertexCount, triangleCount
Floats per GPU cluster descriptor (64 bytes). Layout (std430-friendly), matching the
Clusterstruct in the cluster shaders: