Module render_asset

Source

Structs§

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 attempts to limit the amount of 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§

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