Skip to main content

Module surface_mesh_render

Module surface_mesh_render 

Source
Expand description

Surface mesh GPU rendering resources.

Structsยง

MeshUniforms
Uniforms for surface mesh rendering. Note: Layout must match WGSL MeshUniforms exactly. WGSL vec3<f32> has 16-byte alignment, requiring extra padding.
ShadowModelUniforms
Model uniforms for shadow rendering. Only contains the model matrix (64 bytes) - matches shadow_map.wgsl ModelUniforms.
SurfaceMeshRenderData
GPU resources for rendering a surface mesh.