pub type RenderSet = RenderSystems;
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 SortedRenderPhase
s and
BinKey
s 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
.