Enum glium::texture::DepthFormat
[−]
[src]
pub enum DepthFormat {
I16,
I24,
I32,
F32,
}List of formats available for depth textures.
I16, I24 and I32 are still treated as if they were floating points.
Only the internal representation is integral.
Variants
I16 | |
I24 | |
I32 | May not be supported by all hardware. |
F32 |
Methods
impl DepthFormat
fn to_texture_format(self) -> TextureFormat
Turns this format into a more generic TextureFormat.