Skip to content

Reference

Namespace Contains
Vergeo2D.Mesh Core mesh, texture, UV, grid, mask, serialization, validation, picking, and deformation types.
Vergeo2D.Management Pooled mesh ownership, generation-checked handles, and texture batching.
Vergeo2D.Rendering Render-data extraction, transforms, viewport helpers, and backend contracts.
Type Description
Vertex2D Position and UV with an index.
Edge2D Undirected pair of vertex indices.
Face2D Triangle of three vertex indices.
Mesh2D Editable vertex, edge, and face collection with validation shortcut.
Texture2D Image dimensions, source path, pixel-to-UV helpers.
Mesh2DSerializer JSON string and file import/export.
Mesh2DSerializationOptions JSON formatting and texture restore options.
Type Description
MeshPrimitives2D Creates common meshes such as textured quads.
MeshGridGenerator2D Generates connected grids and masked contour grids.
MeshGridOptions2D Grid configuration such as spacing.
IMeshMask2D Shape mask interface.
MeshMask2D Predicate and alpha-map adapters for masks.
Type Description
MeshValidator2D Static mesh diagnostics helper.
MeshValidationOptions2D Configures which diagnostics are reported.
MeshValidationResult2D Validation result with issue list and convenience flags.
MeshValidationIssue2D Single diagnostic with severity, code, message, and optional mesh location.
MeshValidationSeverity2D Validation severity values: Warning and Error.
MeshPicking2D Nearest vertex/edge picking, barycentric coordinates, and UV interpolation.
Type Description
IMeshDeformer2D Deformation extension point.
VertexOffsetDeformer2D Offsets specific vertices.
RadialDragDeformer2D Radial falloff drag deformer.
Type Description
MeshHandle Generation-checked mesh reference.
MeshManager2D Adds, removes, prepares, and batches live meshes.
MeshBatch2D Texture-grouped mesh handles for drawing.
Type Description
MeshRenderExtractor Converts mesh faces and vertices to render buffers.
MeshRenderData2D Vertex and index buffers with dirty state.
MeshRenderData2DExtensions Render-data helper methods.
MeshViewportLayout2D Content-to-screen layout conversion.
IMeshRenderBackend2D Renderer integration contract.
RenderTransform2D Transform used by render backends.
RenderResourceHandle Generation-checked backend resource handle.
OpenGLMeshRenderBackend2D Optional OpenGL reference backend guarded by VERGEO_OPENGL.
Direct3D11MeshRenderBackend2D Optional Direct3D11 reference backend guarded by VERGEO_DIRECTX.
VulkanMeshRenderBackend2D Optional Vulkan reference backend guarded by VERGEO_VULKAN.
Goal Use
Static sprite quad MeshPrimitives2D.CreateTexturedQuad()
Sprite deformation grid MeshGridGenerator2D.GenerateConnectedGrid()
Alpha/shape contour mesh MeshGridGenerator2D.GenerateMaskedContourGrid()
Alpha byte mask MeshMask2D.FromAlphaMap()
Validate import/editor output mesh.Validate() or MeshValidator2D.Validate()
Pick editable vertices MeshPicking2D.FindNearestVertex()
Pick editable edges MeshPicking2D.FindNearestEdge()
UV under cursor MeshPicking2D.TryGetFaceUV()
Save/load mesh JSON files Mesh2DSerializer.SaveToFile() and Mesh2DSerializer.LoadFromFile()
Temporary render deformation MeshRenderExtractor.Extract(mesh, deformer, target)
Committed mesh deformation mesh.ApplyDeformer(deformer)
Many live meshes MeshManager2D
Draw-call grouping MeshManager2D.GetBatches()