[−][src]Enum processing::vertex::AttributeType
Variants
I8I8I8I8I8I8I8I8I8I8U8U8U8U8U8U8U8U8U8U8I16I16I16I16I16I16I16I16I16I16U16U16U16U16U16U16U16U16U16U16I32I32I32I32I32I32I32I32I32I32U32U32U32U32U32U32U32U32U32U32I64I64I64I64I64I64I64I64I64I64U64U64U64U64U64U64U64U64U64U64F16F16F16F16F16F16F16F16F16F16F16x2x22x2 matrix of f16s
F16x2x32x3 matrix of f16s
F16x2x42x3 matrix of f16s
F16x3x23x2 matrix of f16s
F16x3x33x3 matrix of f16s
F16x3x43x4 matrix of f16s
F16x4x24x2 matrix of f16s
F16x4x34x3 matrix of f16s
F16x4x44x4 matrix of f16s
F32F32F32F32F32F32F32F32F32F32F32x2x22x2 matrix of f32s
F32x2x32x3 matrix of f32s
F32x2x42x3 matrix of f32s
F32x3x23x2 matrix of f32s
F32x3x33x3 matrix of f32s
F32x3x43x4 matrix of f32s
F32x4x24x2 matrix of f32s
F32x4x34x3 matrix of f32s
F32x4x44x4 matrix of f32s
F64Warning: using f64s can be very slow.
F64F64Warning: using f64s can be very slow.
F64F64F64Warning: using f64s can be very slow.
F64F64F64F64Warning: using f64s can be very slow.
F64x2x22x2 matrix of f64s
Warning: using f64s can be very slow.
F64x2x32x3 matrix of f64s
Warning: using f64s can be very slow.
F64x2x42x3 matrix of f64s
Warning: using f64s can be very slow.
F64x3x23x2 matrix of f64s
Warning: using f64s can be very slow.
F64x3x33x3 matrix of f64s
Warning: using f64s can be very slow.
F64x3x43x4 matrix of f64s
Warning: using f64s can be very slow.
F64x4x24x2 matrix of f64s
Warning: using f64s can be very slow.
F64x4x34x3 matrix of f64s
Warning: using f64s can be very slow.
F64x4x44x4 matrix of f64s
Warning: using f64s can be very slow.
I2I10I10I10ReversedFrom MSB to LSB: two bits for the alpha, ten bits for the blue, ten bits for the green, ten bits for the red.
Corresponds to GL_INT_2_10_10_10_REV.
U2U10U10U10ReversedFrom MSB to LSB: two bits for the alpha, ten bits for the blue, ten bits for the green, ten bits for the red.
Corresponds to GL_UNSIGNED_INT_2_10_10_10_REV.
I10I10I10I2Corresponds to GL_INT_10_10_10_2.
U10U10U10U2Corresponds to GL_UNSIGNED_INT_10_10_10_2.
F10F11F11UnsignedIntReversedThree floating points values turned into unsigned integers./
Corresponds to GL_UNSIGNED_INT_10F_11F_11F_REV.
FixedFloatI16U16Fixed floating points. A 16bits signed value followed by the 16bits unsigned exponent.
Corresponds to GL_FIXED.
Methods
impl AttributeType[src]
pub fn is_supported<C>(&self, caps: &C) -> bool where
C: CapabilitiesSource + ?Sized, [src]
C: CapabilitiesSource + ?Sized,
Returns true if the backend supports this type of attribute.
pub fn get_size_bytes(&self) -> usize[src]
Returns the size in bytes of a value of this type.
pub fn get_num_components(&self) -> usize[src]
Returns the number of values for this type.
Trait Implementations
impl PartialEq<AttributeType> for AttributeType[src]
fn eq(&self, other: &AttributeType) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Clone for AttributeType[src]
fn clone(&self) -> AttributeType[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for AttributeType[src]
impl Copy for AttributeType[src]
impl Eq for AttributeType[src]
Auto Trait Implementations
impl Send for AttributeType
impl Sync for AttributeType
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Content for T where
T: Copy, [src]
T: Copy,
type Owned = T
A type that holds a sized version of the content.
fn read<F, E>(size: usize, f: F) -> Result<T, E> where
F: FnOnce(&mut T) -> Result<(), E>, [src]
F: FnOnce(&mut T) -> Result<(), E>,
fn get_elements_size() -> usize[src]
fn to_void_ptr(&self) -> *const ()[src]
fn ref_from_ptr(ptr: *mut (), size: usize) -> Option<*mut T>[src]
fn is_size_suitable(size: usize) -> bool[src]
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Any + Debug, [src]
T: Copy + PartialEq<T> + Any + Debug,
impl<T> Same for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value as a parameter of self.