Struct glitter::image_data::ImageFormat [] [src]

pub struct ImageFormat {
    pub texel_type: TexelType,
    pub texel_format: TexelFormat,
}

A type that contains the texel type and format that make up a 2D image.

Fields

The texel type of the image.

The texel format of the image.

Methods

impl ImageFormat
[src]

[src]

Returns the RGBA image format with 8 bits per component.

Trait Implementations

impl Debug for ImageFormat
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for ImageFormat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ImageFormat
[src]