[−][src]Enum glium::vertex::AttributeType
Variants
2x2 matrix of f16
s
2x3 matrix of f16
s
2x3 matrix of f16
s
3x2 matrix of f16
s
3x3 matrix of f16
s
3x4 matrix of f16
s
4x2 matrix of f16
s
4x3 matrix of f16
s
4x4 matrix of f16
s
2x2 matrix of f32
s
2x3 matrix of f32
s
2x3 matrix of f32
s
3x2 matrix of f32
s
3x3 matrix of f32
s
3x4 matrix of f32
s
4x2 matrix of f32
s
4x3 matrix of f32
s
4x4 matrix of f32
s
Warning: using f64
s can be very slow.
Warning: using f64
s can be very slow.
Warning: using f64
s can be very slow.
Warning: using f64
s can be very slow.
2x2 matrix of f64
s
Warning: using f64
s can be very slow.
2x3 matrix of f64
s
Warning: using f64
s can be very slow.
2x3 matrix of f64
s
Warning: using f64
s can be very slow.
3x2 matrix of f64
s
Warning: using f64
s can be very slow.
3x3 matrix of f64
s
Warning: using f64
s can be very slow.
3x4 matrix of f64
s
Warning: using f64
s can be very slow.
4x2 matrix of f64
s
Warning: using f64
s can be very slow.
4x3 matrix of f64
s
Warning: using f64
s can be very slow.
4x4 matrix of f64
s
Warning: using f64
s can be very slow.
From 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
.
From 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
.
Corresponds to GL_INT_10_10_10_2
.
Corresponds to GL_UNSIGNED_INT_10_10_10_2
.
Three floating points values turned into unsigned integers./
Corresponds to GL_UNSIGNED_INT_10F_11F_11F_REV
.
Fixed floating points. A 16bits signed value followed by the 16bits unsigned exponent.
Corresponds to GL_FIXED
.
Implementations
impl AttributeType
[src]
pub fn is_supported<C: ?Sized>(&self, caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
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 Clone for AttributeType
[src]
fn clone(&self) -> AttributeType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AttributeType
[src]
impl Debug for AttributeType
[src]
impl Eq for AttributeType
[src]
impl PartialEq<AttributeType> for AttributeType
[src]
fn eq(&self, other: &AttributeType) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for AttributeType
[src]
impl StructuralPartialEq for AttributeType
[src]
Auto Trait Implementations
impl RefUnwindSafe for AttributeType
impl Send for AttributeType
impl Sync for AttributeType
impl Unpin for AttributeType
impl UnwindSafe for AttributeType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
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>(usize, 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(*mut (), usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,