public struct RasterClusterWhere one cluster's bytes are inside its page, as RasterCluster declares it.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
CullCluster's other half, and split from it for the reason the whole phase is split that way: a traversal reads bounds and errors for every cluster it tests, and a raster reads this for only the ones it draws. One buffer per question keeps the traversal's reads dense, which is what a walk over a hundred thousand clusters is bound by.
Fields and properties (6)
public Int3 OriginThe cluster's origin on the mesh's quantization grid, in whole grid steps.
public uint PageWhich page holds its bytes, in the pool's global page numbering.
public uint VertexOffsetWhere its vertices start, in bytes from the page's own start.
public uint TriangleOffsetWhere its triangle corners start, in bytes from the page's own start.
public uint TriangleCountHow many triangles it has.
public uint VertexStrideHow many bytes one of its vertices occupies.
Used by (2)
- ClusterRasterTestsVixen.Rendering.Tests
- GpuClusterVisibilityVixen.Rendering