Enum 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]
pub fn get_formats_list() -> Vec<UncompressedIntFormat>
[src]
Returns a list of all the possible values of this enumeration.
pub fn to_texture_format(self) -> TextureFormat
[src]
Turns this format into a more generic TextureFormat
.
pub fn is_supported<C: ?Sized>(&self, context: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
Returns true if this format is supported by the backend.
pub fn is_color_renderable<C: ?Sized>(&self, context: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
Returns true if a texture or renderbuffer with this format can be used as a framebuffer attachment.
Trait Implementations
impl Debug for UncompressedIntFormat
[src]
impl Clone for UncompressedIntFormat
[src]
fn clone(&self) -> UncompressedIntFormat
[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 Copy for UncompressedIntFormat
[src]
impl Hash for UncompressedIntFormat
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
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]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for UncompressedIntFormat
[src]
fn eq(&self, __arg_0: &UncompressedIntFormat) -> 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 !=
.