Struct adi_screen::SpriteList [] [src]

#[must_use]
pub struct SpriteList(_, _, _, _, _, _);

Builder for multiple Sprites.

Methods

impl SpriteList
[src]

[src]

Create a new list of Sprites.

[src]

Set the transform.

[src]

Set the model.

[src]

Enable alpha blending for following sprites.

[src]

Disable all alpha blending for following sprites.

[src]

Enable fog and camera.

[src]

Disable fog and camera.

[src]

Camera without fog.

[src]

Create a sprite with a solid color.

[src]

Create a sprite shaded by a gradient (1 color per vertex).

[src]

Create a sprite with a texture and texture coordinates.

[src]

Create a sprite with a texture, texture coordinates and alpha. Automatically Enables Alpha Blending. (no need to call alpha())

[src]

Create a sprite with a texture and texture coordinates and tint.

[src]

Create a sprite with a texture and texture coordinates and tint per vertex.

Important traits for Vec<u8>
[src]

Convert into a Vec of Sprites

[src]

Convert into 1 Sprite if there's only 1 in the list.

Trait Implementations

Auto Trait Implementations

impl Send for SpriteList

impl Sync for SpriteList