Enum gl_helpers::InternalFormat
source · pub enum InternalFormat {
Show 56 variants
R8,
R8_SNORM,
R16F,
R32F,
R8UI,
R8I,
R16UI,
R16I,
R32UI,
R32I,
RG8,
RG8_SNORM,
RG16F,
RG32F,
RG8UI,
RG8I,
RG16UI,
RG16I,
RG32UI,
RG32I,
RGB8,
SRGB8,
RGB565,
RGB8_SNORM,
R11F_G11F_B10F,
RGB9_E5,
RGB16F,
RGB32F,
RGB8UI,
RGB8I,
RGB16UI,
RGB16I,
RGB32UI,
RGB32I,
RGBA,
RGBA8,
SRGB8_ALPHA8,
RGBA8_SNORM,
RGB5_A1,
RGBA4,
RGB10_A2,
RGBA16F,
RGBA32F,
RGBA8UI,
RGBA8I,
RGB10_A2UI,
RGBA16UI,
RGBA16I,
RGBA32I,
RGBA32UI,
DepthComponent16,
DepthComponent24,
DepthComponent32F,
Depth24Stencil8,
Depth32FStencil8,
StencilIndex8,
}
Variants
R8
R8_SNORM
R16F
R32F
R8UI
R8I
R16UI
R16I
R32UI
R32I
RG8
RG8_SNORM
RG16F
RG32F
RG8UI
RG8I
RG16UI
RG16I
RG32UI
RG32I
RGB8
SRGB8
RGB565
RGB8_SNORM
R11F_G11F_B10F
RGB9_E5
RGB16F
RGB32F
RGB8UI
RGB8I
RGB16UI
RGB16I
RGB32UI
RGB32I
RGBA
RGBA8
SRGB8_ALPHA8
RGBA8_SNORM
RGB5_A1
RGBA4
RGB10_A2
RGBA16F
RGBA32F
RGBA8UI
RGBA8I
RGB10_A2UI
RGBA16UI
RGBA16I
RGBA32I
RGBA32UI
DepthComponent16
DepthComponent24
DepthComponent32F
Depth24Stencil8
Depth32FStencil8
StencilIndex8
Trait Implementations
sourceimpl Clone for InternalFormat
impl Clone for InternalFormat
sourcefn clone(&self) -> InternalFormat
fn clone(&self) -> InternalFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InternalFormat
impl Debug for InternalFormat
sourceimpl<'a> From<&'a InternalFormat> for GLenum
impl<'a> From<&'a InternalFormat> for GLenum
sourcefn from(internal_format: &'a InternalFormat) -> Self
fn from(internal_format: &'a InternalFormat) -> Self
Converts to this type from the input type.
sourceimpl From<InternalFormat> for GLenum
impl From<InternalFormat> for GLenum
sourcefn from(internal_format: InternalFormat) -> Self
fn from(internal_format: InternalFormat) -> Self
Converts to this type from the input type.
sourceimpl From<u32> for InternalFormat
impl From<u32> for InternalFormat
sourceimpl Hash for InternalFormat
impl Hash for InternalFormat
sourceimpl Ord for InternalFormat
impl Ord for InternalFormat
sourcefn cmp(&self, other: &InternalFormat) -> Ordering
fn cmp(&self, other: &InternalFormat) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<InternalFormat> for InternalFormat
impl PartialEq<InternalFormat> for InternalFormat
sourcefn eq(&self, other: &InternalFormat) -> bool
fn eq(&self, other: &InternalFormat) -> bool
sourceimpl PartialOrd<InternalFormat> for InternalFormat
impl PartialOrd<InternalFormat> for InternalFormat
sourcefn partial_cmp(&self, other: &InternalFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &InternalFormat) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for InternalFormat
impl Eq for InternalFormat
impl StructuralEq for InternalFormat
impl StructuralPartialEq for InternalFormat
Auto Trait Implementations
impl RefUnwindSafe for InternalFormat
impl Send for InternalFormat
impl Sync for InternalFormat
impl Unpin for InternalFormat
impl UnwindSafe for InternalFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more