pub enum TextureFormat {
RED = 6_403,
GREEN = 6_404,
BLUE = 6_405,
ALPHA = 6_406,
RGB = 6_407,
RGBA = 6_408,
BGR = 32_992,
BGRA = 32_993,
}Expand description
The texture format 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§
RED = 6_403
GREEN = 6_404
BLUE = 6_405
ALPHA = 6_406
RGB = 6_407
RGBA = 6_408
BGR = 32_992
BGRA = 32_993
Auto Trait Implementations§
impl Freeze for TextureFormat
impl RefUnwindSafe for TextureFormat
impl Send for TextureFormat
impl Sync for TextureFormat
impl Unpin for TextureFormat
impl UnwindSafe for TextureFormat
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