Struct amethyst_renderer::SpriteSheet [−][src]
Meta data for a sprite sheet texture.
Contains a handle to the texture and the sprite coordinates on the texture.
Fields
texture_id: u64
Index into MaterialTextureSet of the texture for this sprite sheet.
sprites: Vec<Sprite>
A list of sprites in this sprite sheet.
Trait Implementations
impl Clone for SpriteSheet[src]
impl Clone for SpriteSheetfn clone(&self) -> SpriteSheet[src]
fn clone(&self) -> SpriteSheetReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for SpriteSheet[src]
impl Debug for SpriteSheetfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for SpriteSheet[src]
impl PartialEq for SpriteSheetfn eq(&self, other: &SpriteSheet) -> bool[src]
fn eq(&self, other: &SpriteSheet) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &SpriteSheet) -> bool[src]
fn ne(&self, other: &SpriteSheet) -> boolThis method tests for !=.
impl Asset for SpriteSheet[src]
impl Asset for SpriteSheetconst NAME: &'static str
NAME: &'static str = "renderer::Sprite"
An identifier for this asset used for debugging.
type Data = Self
The Data type the asset can be created from.
type HandleStorage = VecStorage<Handle<Self>>
The ECS storage type to be used. You'll want to use VecStorage in most cases.
Auto Trait Implementations
impl Send for SpriteSheet
impl Send for SpriteSheetimpl Sync for SpriteSheet
impl Sync for SpriteSheet