Enum cgl_rs::graphics::TextureDataType
source · pub enum TextureDataType {
BYTE,
UNSIGNED_BYTE,
SHORT,
UNSIGNED_SHORT,
INT,
UNSIGNED_INT,
FLOAT,
}
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§
Auto Trait Implementations§
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