Struct libsm64::Texture[][src]

pub struct Texture {
    pub data: &'static [u8],
    pub width: u32,
    pub height: u32,
}
Expand description

A texture atlas that can be applied to the Mario geometry

Fields

data: &'static [u8]

8-bit RGBA values

width: u32

The width of the texture

height: u32

The height of the texture

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.