pub struct ShaderPrecisionProfile {
pub high_float_range_min: i32,
pub high_float_range_max: i32,
pub high_float_precision: i32,
pub medium_float_precision: i32,
pub low_float_precision: i32,
pub high_int_precision: i32,
}Expand description
Shader precision format values for a GPU profile.
Matches the structure returned by getShaderPrecisionFormat().
Fields§
§high_float_range_min: i32High-float range exponent bits.
high_float_range_max: i32High-float range exponent bits.
high_float_precision: i32High-float precision bits.
medium_float_precision: i32Medium-float precision bits.
low_float_precision: i32Low-float precision bits.
high_int_precision: i32High-int precision bits.
Trait Implementations§
Source§impl Clone for ShaderPrecisionProfile
impl Clone for ShaderPrecisionProfile
Source§fn clone(&self) -> ShaderPrecisionProfile
fn clone(&self) -> ShaderPrecisionProfile
Returns a duplicate 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 moreSource§impl Debug for ShaderPrecisionProfile
impl Debug for ShaderPrecisionProfile
Source§impl Default for ShaderPrecisionProfile
impl Default for ShaderPrecisionProfile
Source§impl<'de> Deserialize<'de> for ShaderPrecisionProfile
impl<'de> Deserialize<'de> for ShaderPrecisionProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ShaderPrecisionProfile
impl PartialEq for ShaderPrecisionProfile
Source§impl Serialize for ShaderPrecisionProfile
impl Serialize for ShaderPrecisionProfile
impl Eq for ShaderPrecisionProfile
impl StructuralPartialEq for ShaderPrecisionProfile
Auto Trait Implementations§
impl Freeze for ShaderPrecisionProfile
impl RefUnwindSafe for ShaderPrecisionProfile
impl Send for ShaderPrecisionProfile
impl Sync for ShaderPrecisionProfile
impl Unpin for ShaderPrecisionProfile
impl UnsafeUnpin for ShaderPrecisionProfile
impl UnwindSafe for ShaderPrecisionProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.