Struct ggez::graphics::InstanceProperties [−][src]
pub struct InstanceProperties {
pub col1: [f32; 4],
pub col2: [f32; 4],
pub col3: [f32; 4],
pub col4: [f32; 4],
pub src: [f32; 4],
pub color: [f32; 4],
}
Expand description
Internal structure containing values that are different for each drawable object. This is the per-object data that gets fed into the shaders.
Fields
col1: [f32; 4]
col2: [f32; 4]
col3: [f32; 4]
col4: [f32; 4]
src: [f32; 4]
color: [f32; 4]
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InstanceProperties
impl Send for InstanceProperties
impl Sync for InstanceProperties
impl Unpin for InstanceProperties
impl UnwindSafe for InstanceProperties
Blanket Implementations
Mutably borrows from an owned value. Read more