Struct ggez::graphics::Globals []

pub struct Globals {
    pub transform: [[f32; 4]; 4],
    pub color: [f32; 4],
}

Internal structure containing global shader state.

Fields

Trait Implementations

impl Clone for Globals

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Globals

impl Debug for Globals

Formats the value using the given formatter.

impl Pod for Globals

impl Structure<ConstFormat> for Globals

Get the layout of an element by name.