Union rps_sys::RpsClearColorValue
source · #[repr(C)]
pub union RpsClearColorValue {
pub float32: [f32; 4],
pub int32: [i32; 4],
pub uint32: [u32; 4],
}Expand description
RGBA color value to use for clearing a resource.
Depending on the underlaying format of a resource, an appropriately typed member of this union should be used.
Fields§
§float32: [f32; 4]4-tuple of IEEE 754 floating point values representing an RGBA clear color.
int32: [i32; 4]4-tuple of signed integers representing an RGBA clear color.
uint32: [u32; 4]4-tuple of unsigned integers representing an RGBA clear color.
Trait Implementations§
source§impl Clone for RpsClearColorValue
impl Clone for RpsClearColorValue
source§fn clone(&self) -> RpsClearColorValue
fn clone(&self) -> RpsClearColorValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more