#[repr(i32)]
pub enum PxSdfBitsPerSubgridPixel {
E8BitPerPixel,
E16BitPerPixel,
E32BitPerPixel,
}
Expand description
Defines the number of bits per subgrid pixel
Variants§
E8BitPerPixel
8 bit per subgrid pixel (values will be stored as normalized integers)
E16BitPerPixel
16 bit per subgrid pixel (values will be stored as normalized integers)
E32BitPerPixel
32 bit per subgrid pixel (values will be stored as floats in world scale units)
Trait Implementations§
source§impl Clone for PxSdfBitsPerSubgridPixel
impl Clone for PxSdfBitsPerSubgridPixel
source§fn clone(&self) -> PxSdfBitsPerSubgridPixel
fn clone(&self) -> PxSdfBitsPerSubgridPixel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PxSdfBitsPerSubgridPixel
impl Debug for PxSdfBitsPerSubgridPixel
source§impl PartialEq<PxSdfBitsPerSubgridPixel> for PxSdfBitsPerSubgridPixel
impl PartialEq<PxSdfBitsPerSubgridPixel> for PxSdfBitsPerSubgridPixel
source§fn eq(&self, other: &PxSdfBitsPerSubgridPixel) -> bool
fn eq(&self, other: &PxSdfBitsPerSubgridPixel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.