Enum nannou::ui::backend::glium::glium::texture::UncompressedUintFormat [−][src]
pub enum UncompressedUintFormat { U8, U16, U32, U8U8, U16U16, U32U32, U8U8U8, U16U16U16, U32U32U32, U8U8U8U8, U16U16U16U16, U32U32U32U32, U10U10U10U2, }
List of uncompressed pixel formats that contain unsigned integral data.
Variants
U8
U16
U32
U8U8
U16U16
U32U32
U8U8U8
U16U16U16
May not be supported by renderbuffers.
U32U32U32
May not be supported by renderbuffers.
U8U8U8U8
May not be supported by renderbuffers.
U16U16U16U16
U32U32U32U32
U10U10U10U2
Methods
impl UncompressedUintFormat
[src]
impl UncompressedUintFormat
pub fn get_formats_list() -> Vec<UncompressedUintFormat>
[src]
pub fn get_formats_list() -> Vec<UncompressedUintFormat>
Returns a list of all the possible values of this enumeration.
pub fn to_texture_format(self) -> TextureFormat
[src]
pub fn to_texture_format(self) -> TextureFormat
Turns this format into a more generic TextureFormat
.
pub fn is_supported<C>(&self, context: &C) -> bool where
C: CapabilitiesSource + ?Sized,
[src]
pub fn is_supported<C>(&self, context: &C) -> bool where
C: CapabilitiesSource + ?Sized,
Returns true if this format is supported by the backend.
pub fn is_color_renderable<C>(&self, context: &C) -> bool where
C: CapabilitiesSource + ?Sized,
[src]
pub fn is_color_renderable<C>(&self, context: &C) -> bool where
C: CapabilitiesSource + ?Sized,
Returns true if a texture or renderbuffer with this format can be used as a framebuffer attachment.
Trait Implementations
impl Hash for UncompressedUintFormat
[src]
impl Hash for UncompressedUintFormat
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for UncompressedUintFormat
[src]
impl Clone for UncompressedUintFormat
fn clone(&self) -> UncompressedUintFormat
[src]
fn clone(&self) -> UncompressedUintFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for UncompressedUintFormat
[src]
impl Debug for UncompressedUintFormat
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for UncompressedUintFormat
[src]
impl Copy for UncompressedUintFormat
impl Eq for UncompressedUintFormat
[src]
impl Eq for UncompressedUintFormat
impl PartialEq<UncompressedUintFormat> for UncompressedUintFormat
[src]
impl PartialEq<UncompressedUintFormat> for UncompressedUintFormat
Auto Trait Implementations
impl Send for UncompressedUintFormat
impl Send for UncompressedUintFormat
impl Sync for UncompressedUintFormat
impl Sync for UncompressedUintFormat