Module bevy::render::extract_component
source · Structs
- Stores all uniforms of the component type.
- Stores the index of a uniform inside of
ComponentUniforms
. - This plugin extracts the components into the “render world”.
- This plugin prepares the components of the corresponding type for the GPU by transforming them into uniforms.
Traits
- Describes how a component gets extracted for rendering.
Derive Macros
- Implements
ExtractComponent
trait for a component. The component must implement [Clone
]. The component will be extracted into the render world via cloning. Note that this only enables extraction of the component, it does not execute the extraction. SeeExtractComponentPlugin
to actually perform the extraction.