Function slabbed_vertices_no_instance

Source
pub fn slabbed_vertices_no_instance(
    vertex_index: u32,
    slab: &[u32],
    out_color: &mut Vec4,
    clip_pos: &mut Vec4,
)
Expand description

This shader uses the vertex index as a slab Id. The Id is used to read the vertex from the slab. The vertex’s position and color are written to the output.