Module render_asset

Source

Structs§

ExtractAssetsSet
The system set during which we extract modified assets to the render world.
ExtractedAssets
Temporarily stores the extracted and removed assets of the current frame.
PrepareNextFrameAssets
All assets that should be prepared next frame.
RenderAssetBytesPerFrame
A resource that defines the amount of data allowed to be transferred from CPU to GPU each frame, preventing choppy frames at the cost of waiting longer for GPU assets to become available.
RenderAssetBytesPerFrameLimiter
A render-world resource that facilitates limiting the data transferred from CPU to GPU each frame, preventing choppy frames at the cost of waiting longer for GPU assets to become available.
RenderAssetPlugin
This plugin extracts the changed assets from the “app world” into the “render world” and prepares them for the GPU. They can then be accessed from the RenderAssets resource.
RenderAssetUsages
Defines where the asset will be used.
RenderAssets
Stores all GPU representations (RenderAsset) of RenderAsset::SourceAsset as long as they exist.

Enums§

PrepareAssetError

Traits§

RenderAsset
Describes how an asset gets extracted and prepared for rendering.
RenderAssetDependency

Functions§

extract_render_asset_bytes_per_frame
prepare_assets
This system prepares all assets of the corresponding RenderAsset::SourceAsset type which where extracted this frame for the GPU.
reset_render_asset_bytes_per_frame