Enum 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

fn get_formats_list() -> Vec<UncompressedUintFormat>

Returns a list of all the possible values of this enumeration.

fn to_texture_format(self) -> TextureFormat

Turns this format into a more generic TextureFormat.

fn is_supported<C>(&self, context: &C) -> bool where C: CapabilitiesSource

Returns true if this format is supported by the backend.

fn is_color_renderable<C>(&self, context: &C) -> bool where C: CapabilitiesSource

Returns true if a texture or renderbuffer with this format can be used as a framebuffer attachment.

Trait Implementations

Derived Implementations

impl Eq for UncompressedUintFormat

impl PartialEq for UncompressedUintFormat

fn eq(&self, __arg_0: &UncompressedUintFormat) -> bool

fn ne(&self, __arg_0: &UncompressedUintFormat) -> bool

impl Hash for UncompressedUintFormat

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Copy for UncompressedUintFormat

impl Clone for UncompressedUintFormat

fn clone(&self) -> UncompressedUintFormat

fn clone_from(&mut self, source: &Self)

impl Debug for UncompressedUintFormat

fn fmt(&self, __arg_0: &mut Formatter) -> Result