Struct ggez::graphics::Globals
[−]
pub struct Globals { pub transform: [[f32; 4]; 4], pub color: [f32; 4], }
Internal structure containing global shader state.
Fields
transform: [[f32; 4]; 4]
color: [f32; 4]
Trait Implementations
impl Clone for Globals
fn clone(&self) -> Globals
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more