ludus::foundation::geometry::SurfaceMeshLimits¶
Ludus Wiki · API overview · Browse API
Struct
Explicit mesh work and output budgets; there are no engine defaults and zero allows nothing.
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/tessellation.hpp
#include <ludus/foundation/geometry/tessellation.hpp>
struct ludus::foundation::geometry::SurfaceMeshLimits final
Fields¶
MaxLevel¶
usize ludus::foundation::geometry::SurfaceMeshLimits::MaxLevel = 0
Dyadic level per patch direction; at most MAX_SURFACE_MESH_LEVEL.
Related types: usize
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/tessellation.hpp
MaxCellTests¶
usize ludus::foundation::geometry::SurfaceMeshLimits::MaxCellTests = 0
Cell bound evaluations during level selection, including rechecks.
Related types: usize
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/tessellation.hpp
MaxVertices¶
usize ludus::foundation::geometry::SurfaceMeshLimits::MaxVertices = 0
Render vertices; also limited by the uint32 index range.
Related types: usize
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/tessellation.hpp
MaxTriangles¶
usize ludus::foundation::geometry::SurfaceMeshLimits::MaxTriangles = 0
Emitted triangles.
Related types: usize
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/tessellation.hpp
MaxOutputBytes¶
usize ludus::foundation::geometry::SurfaceMeshLimits::MaxOutputBytes = 0
Bytes owned by the mesh, checked before its arrays are allocated.
Related types: usize
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/tessellation.hpp