Skip to main content

allocate_surface

Function allocate_surface 

Source
pub fn allocate_surface(
    world: &mut World,
    source_entity: Entity,
    key: &LitPipelineKey,
    grid: &Grid,
) -> GpuMesh
Expand description

Upload a rectangle and return its mesh.