Enum nannou::ui::backend::glium::glium::texture::DepthStencilFormat [−][src]
pub enum DepthStencilFormat { I24I8, F32I8, }
List of formats available for depth-stencil textures.
Variants
I24I8
F32I8
Methods
impl DepthStencilFormat
[src]
impl DepthStencilFormat
pub fn get_formats_list() -> Vec<DepthStencilFormat>
[src]
pub fn get_formats_list() -> Vec<DepthStencilFormat>
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.
Trait Implementations
impl Hash for DepthStencilFormat
[src]
impl Hash for DepthStencilFormat
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 DepthStencilFormat
[src]
impl Clone for DepthStencilFormat
fn clone(&self) -> DepthStencilFormat
[src]
fn clone(&self) -> DepthStencilFormat
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 DepthStencilFormat
[src]
impl Debug for DepthStencilFormat
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 DepthStencilFormat
[src]
impl Copy for DepthStencilFormat
impl Eq for DepthStencilFormat
[src]
impl Eq for DepthStencilFormat
impl PartialEq<DepthStencilFormat> for DepthStencilFormat
[src]
impl PartialEq<DepthStencilFormat> for DepthStencilFormat
Auto Trait Implementations
impl Send for DepthStencilFormat
impl Send for DepthStencilFormat
impl Sync for DepthStencilFormat
impl Sync for DepthStencilFormat