Enum nannou::ui::backend::glium::glium::texture::UncompressedIntFormat [−][src]
pub enum UncompressedIntFormat { I8, I16, I32, I8I8, I16I16, I32I32, I8I8I8, I16I16I16, I32I32I32, I8I8I8I8, I16I16I16I16, I32I32I32I32, }
List of uncompressed pixel formats that contain signed integral data.
Variants
I8
I16
I32
I8I8
I16I16
I32I32
I8I8I8
I16I16I16
May not be supported by renderbuffers.
I32I32I32
May not be supported by renderbuffers.
I8I8I8I8
May not be supported by renderbuffers.
I16I16I16I16
I32I32I32I32
Methods
impl UncompressedIntFormat
[src]
impl UncompressedIntFormat
pub fn get_formats_list() -> Vec<UncompressedIntFormat>
[src]
pub fn get_formats_list() -> Vec<UncompressedIntFormat>
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 UncompressedIntFormat
[src]
impl Hash for UncompressedIntFormat
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 UncompressedIntFormat
[src]
impl Clone for UncompressedIntFormat
fn clone(&self) -> UncompressedIntFormat
[src]
fn clone(&self) -> UncompressedIntFormat
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 UncompressedIntFormat
[src]
impl Debug for UncompressedIntFormat
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 UncompressedIntFormat
[src]
impl Copy for UncompressedIntFormat
impl Eq for UncompressedIntFormat
[src]
impl Eq for UncompressedIntFormat
impl PartialEq<UncompressedIntFormat> for UncompressedIntFormat
[src]
impl PartialEq<UncompressedIntFormat> for UncompressedIntFormat
Auto Trait Implementations
impl Send for UncompressedIntFormat
impl Send for UncompressedIntFormat
impl Sync for UncompressedIntFormat
impl Sync for UncompressedIntFormat