Enum vulkano::device::physical::PointClippingBehavior
source · #[non_exhaustive]#[repr(i32)]pub enum PointClippingBehavior {
AllClipPlanes = 0,
UserClipPlanesOnly = 1,
}
Expand description
Specifies how the device clips single point primitives.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AllClipPlanes = 0
Points are clipped if they lie outside any clip plane, both those bounding the view volume and user-defined clip planes.
UserClipPlanesOnly = 1
Points are clipped only if they lie outside a user-defined clip plane.
Trait Implementations§
source§impl Clone for PointClippingBehavior
impl Clone for PointClippingBehavior
source§fn clone(&self) -> PointClippingBehavior
fn clone(&self) -> PointClippingBehavior
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 PointClippingBehavior
impl Debug for PointClippingBehavior
source§impl From<PointClippingBehavior> for PointClippingBehavior
impl From<PointClippingBehavior> for PointClippingBehavior
source§fn from(val: PointClippingBehavior) -> Self
fn from(val: PointClippingBehavior) -> Self
Converts to this type from the input type.
source§impl Hash for PointClippingBehavior
impl Hash for PointClippingBehavior
source§impl PartialEq for PointClippingBehavior
impl PartialEq for PointClippingBehavior
source§fn eq(&self, other: &PointClippingBehavior) -> bool
fn eq(&self, other: &PointClippingBehavior) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PointClippingBehavior
impl Eq for PointClippingBehavior
impl StructuralEq for PointClippingBehavior
impl StructuralPartialEq for PointClippingBehavior
Auto Trait Implementations§
impl RefUnwindSafe for PointClippingBehavior
impl Send for PointClippingBehavior
impl Sync for PointClippingBehavior
impl Unpin for PointClippingBehavior
impl UnwindSafe for PointClippingBehavior
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more