pub enum SupportsGlTextureName {
GL_OES_compressed_ETC1_RGB8_texture,
GL_OES_compressed_paletted_texture,
GL_AMD_compressed_3DC_texture,
GL_AMD_compressed_ATC_texture,
GL_EXT_texture_compression_latc,
GL_EXT_texture_compression_dxt1,
GL_EXT_texture_compression_s3tc,
GL_IMG_texture_compression_pvrtc,
}
Variants§
GL_OES_compressed_ETC1_RGB8_texture
Ericsson texture compression. Specified in OpenGL ES 2.0 and available in all Android-powered devices that support OpenGL ES 2.0.
GL_OES_compressed_paletted_texture
Generic paletted texture compression.
GL_AMD_compressed_3DC_texture
ATI 3Dc texture compression
GL_AMD_compressed_ATC_texture
ATI texture compression. Available on devices running Adreno GPU, including HTC
Nexus One, Droid Incredible, EVO, and others. For widest compatibility,
devices may also declare a <supports-gl-texture>
element with the descriptor
GL_ATI_texture_compression_atitc
.
GL_EXT_texture_compression_latc
Luminance alpha texture compression.
GL_EXT_texture_compression_dxt1
S3 DXT1 texture compression. Supported on devices running Nvidia Tegra2 platform, including Motorala Xoom, Motorola Atrix, Droid Bionic, and others.
GL_EXT_texture_compression_s3tc
S3 texture compression, nonspecific to DXT variant. Supported on devices running Nvidia Tegra2 platform, including Motorala Xoom, Motorola Atrix, Droid Bionic, and others If your application requires a specific DXT variant, declare that descriptor instead of this one.
GL_IMG_texture_compression_pvrtc
PowerVR texture compression. Available in devices running PowerVR SGX530/540 GPU, such as Motorola DROID series; Samsung Galaxy S, Nexus S, and Galaxy Tab; and others.
Trait Implementations§
source§impl Clone for SupportsGlTextureName
impl Clone for SupportsGlTextureName
source§fn clone(&self) -> SupportsGlTextureName
fn clone(&self) -> SupportsGlTextureName
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SupportsGlTextureName
impl Debug for SupportsGlTextureName
source§impl Default for SupportsGlTextureName
impl Default for SupportsGlTextureName
source§fn default() -> SupportsGlTextureName
fn default() -> SupportsGlTextureName
source§impl<'de> Deserialize<'de> for SupportsGlTextureName
impl<'de> Deserialize<'de> for SupportsGlTextureName
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
source§impl PartialEq<SupportsGlTextureName> for SupportsGlTextureName
impl PartialEq<SupportsGlTextureName> for SupportsGlTextureName
source§fn eq(&self, other: &SupportsGlTextureName) -> bool
fn eq(&self, other: &SupportsGlTextureName) -> bool
self
and other
values to be equal, and is used
by ==
.