pub enum OccluderKind {
Sphere,
Aabb,
}Expand description
Identifies the geometric shape of a ray-tracing Occluder.
Variants§
Sphere
A sphere centered at center with radius stored in extent.x.
Aabb
An axis-aligned bounding box with min corner center and max corner
extent.
Trait Implementations§
Source§impl Clone for OccluderKind
impl Clone for OccluderKind
Source§fn clone(&self) -> OccluderKind
fn clone(&self) -> OccluderKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OccluderKind
Source§impl Debug for OccluderKind
impl Debug for OccluderKind
Source§impl Default for OccluderKind
impl Default for OccluderKind
Source§fn default() -> OccluderKind
fn default() -> OccluderKind
Returns the “default value” for a type. Read more
Source§impl PartialEq for OccluderKind
impl PartialEq for OccluderKind
impl StructuralPartialEq for OccluderKind
Auto Trait Implementations§
impl Freeze for OccluderKind
impl RefUnwindSafe for OccluderKind
impl Send for OccluderKind
impl Sync for OccluderKind
impl Unpin for OccluderKind
impl UnsafeUnpin for OccluderKind
impl UnwindSafe for OccluderKind
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