Struct ggez::graphics::Globals[]

pub struct Globals {
    pub mvp_matrix: [[f32; 4]; 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. Read more

impl PartialEq for Globals

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

This method tests for !=.

impl Pod for Globals

impl Structure<ConstFormat> for Globals

Get the layout of an element by name.

Auto Trait Implementations

impl Send for Globals

impl Sync for Globals