pub enum TextureDataType {
BYTE = 5_120,
UNSIGNED_BYTE = 5_121,
SHORT = 5_122,
UNSIGNED_SHORT = 5_123,
INT = 5_124,
UNSIGNED_INT = 5_125,
FLOAT = 5_126,
}Expand description
The texture data type used by CGL These are reflections of OpenGL’s enum values You can also use the _i version of methods to pass integers directly instead of enums
Variants§
BYTE = 5_120
UNSIGNED_BYTE = 5_121
SHORT = 5_122
UNSIGNED_SHORT = 5_123
INT = 5_124
UNSIGNED_INT = 5_125
FLOAT = 5_126
Auto Trait Implementations§
impl Freeze for TextureDataType
impl RefUnwindSafe for TextureDataType
impl Send for TextureDataType
impl Sync for TextureDataType
impl Unpin for TextureDataType
impl UnwindSafe for TextureDataType
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