pub trait FramePacketData {
type PerFrameData: Sync + Send;
type RenderObjectInstanceData: Sync + Send;
type PerViewData: Sync + Send;
type RenderObjectInstancePerViewData: Sync + Send;
}Expand description
The FramePacket is the data that must be extracted from either the AssetManager or the game’s
World during the Extract step. After the Extract step has finished, there is no more access
allowed to either the AssetManager or the game’s World. The FramePacket must be considered
immutable after the Extract step has finished.
Required Associated Types§
Sourcetype PerFrameData: Sync + Send
type PerFrameData: Sync + Send
All data that is either unassociated with or shared by
any of the render objects across each RenderView.
Sourcetype RenderObjectInstanceData: Sync + Send
type RenderObjectInstanceData: Sync + Send
All data associated with a particular Entity and RenderObject.
Sourcetype PerViewData: Sync + Send
type PerViewData: Sync + Send
All data that is associated with a particular RenderView.
This and a Vec<RenderObjectInstancePerViewData> define
each ViewPacket in the FramePacket.
Sourcetype RenderObjectInstancePerViewData: Sync + Send
type RenderObjectInstancePerViewData: Sync + Send
All data associated with a particular Entity, RenderObject, and RenderView.