Struct amethyst_renderer::SpriteSheet[][src]

pub struct SpriteSheet {
    pub texture_id: u64,
    pub sprites: Vec<Sprite>,
}

Meta data for a sprite sheet texture.

Contains a handle to the texture and the sprite coordinates on the texture.

Fields

Index into MaterialTextureSet of the texture for this sprite sheet.

A list of sprites in this sprite sheet.

Trait Implementations

impl Clone for SpriteSheet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SpriteSheet
[src]

Formats the value using the given formatter. Read more

impl PartialEq for SpriteSheet
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Asset for SpriteSheet
[src]

NAME: &'static str = "renderer::Sprite"

An identifier for this asset used for debugging.

The Data type the asset can be created from.

The ECS storage type to be used. You'll want to use VecStorage in most cases.

Auto Trait Implementations

impl Send for SpriteSheet

impl Sync for SpriteSheet