Enum mallumo_gls::raw::TextureFormat
[−]
[src]
pub enum TextureFormat { Red, RG, RGB, BGR, RGBA, BGRA, DepthComponent, StencilIndex, }
Variants
Red
RG
RGB
BGR
RGBA
BGRA
DepthComponent
StencilIndex
Methods
impl TextureFormat
[src]
fn n_components(&self) -> usize
[src]
Trait Implementations
impl Debug for TextureFormat
[src]
impl Copy for TextureFormat
[src]
impl Clone for TextureFormat
[src]
fn clone(&self) -> TextureFormat
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for TextureFormat
[src]
fn eq(&self, __arg_0: &TextureFormat) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.