RenderSet

Type Alias RenderSet 

Source
pub type RenderSet = RenderSystems;
๐Ÿ‘ŽDeprecated since 0.17.0: Renamed to RenderSystems.
Expand description

Deprecated alias for RenderSystems.

Aliased Typeยง

pub enum RenderSet {
Show 16 variants ExtractCommands, PrepareAssets, PrepareMeshes, ManageViews, Queue, QueueMeshes, QueueSweep, PhaseSort, Prepare, PrepareResources, PrepareResourcesCollectPhaseBuffers, PrepareResourcesFlush, PrepareBindGroups, Render, Cleanup, PostCleanup,
}

Variantsยง

ยง

ExtractCommands

This is used for applying the commands from the ExtractSchedule

ยง

PrepareAssets

Prepare assets that have been created/modified/removed this frame.

ยง

PrepareMeshes

Prepares extracted meshes.

ยง

ManageViews

Create any additional views such as those used for shadow mapping.

ยง

Queue

Queue drawable entities as phase items in render phases ready for sorting (if necessary)

ยง

QueueMeshes

A sub-set within Queue where mesh entity queue systems are executed. Ensures prepare_assets::<RenderMesh> is completed.

ยง

QueueSweep

A sub-set within Queue where meshes that have become invisible or changed phases are removed from the bins.

ยง

PhaseSort

Sort the SortedRenderPhases and BinKeys here.

ยง

Prepare

Prepare render resources from extracted data for the GPU based on their sorted order. Create BindGroups that depend on those data.

ยง

PrepareResources

A sub-set within Prepare for initializing buffers, textures and uniforms for use in bind groups.

ยง

PrepareResourcesCollectPhaseBuffers

Collect phase buffers after PrepareResources has run.

ยง

PrepareResourcesFlush

Flush buffers after PrepareResources, but before PrepareBindGroups.

ยง

PrepareBindGroups

A sub-set within Prepare for constructing bind groups, or other data that relies on render resources prepared in PrepareResources.

ยง

Render

Actual rendering happens here. In most cases, only the render backend should insert resources here.

ยง

Cleanup

Cleanup render resources here.

ยง

PostCleanup

Final cleanup occurs: all entities will be despawned.

Runs after Cleanup.