hephae_render::drawer

Function queue_drawers

Source
pub fn queue_drawers<T: Drawer>(
    param: StaticSystemParam<'_, '_, T::DrawParam>,
    query: Query<'_, '_, &T>,
    views: Query<'_, '_, (Entity, &RenderVisibleEntities), With<ExtractedView>>,
    queues: Res<'_, VertexQueues<T::Vertex>>,
    iterated: Local<'_, FixedBitSet>,
)
Expand description

Collects VertexCommands from drawers to be sorted by the pipeline.