[][src]Struct embree::scene::CommittedScene

pub struct CommittedScene<'a> { /* fields omitted */ }

A committed scene with a BVH built over the geometry which can be used for ray queries.

Implementations

impl<'a> CommittedScene<'a>[src]

pub fn intersect(&self, ctx: &mut IntersectContext, ray: &mut RayHit)[src]

pub fn occluded(&self, ctx: &mut IntersectContext, ray: &mut Ray)[src]

pub fn intersect4(
    &self,
    ctx: &mut IntersectContext,
    ray: &mut RayHit4,
    valid: &[i32; 4]
)
[src]

pub fn occluded4(
    &self,
    ctx: &mut IntersectContext,
    ray: &mut Ray4,
    valid: &[i32; 4]
)
[src]

pub fn intersect_stream_aos(
    &self,
    ctx: &mut IntersectContext,
    rays: &mut Vec<RayHit>
)
[src]

pub fn occluded_stream_aos(
    &self,
    ctx: &mut IntersectContext,
    rays: &mut Vec<Ray>
)
[src]

pub fn intersect_stream_soa(
    &self,
    ctx: &mut IntersectContext,
    rays: &mut RayHitN
)
[src]

pub fn occluded_stream_soa(&self, ctx: &mut IntersectContext, rays: &mut RayN)[src]

pub fn bounds(&self) -> RTCBounds[src]

pub unsafe fn handle(&self) -> RTCScene[src]

Get the underlying handle to the scene, e.g. for passing it to native code or ISPC kernels.

Trait Implementations

impl<'a> Sync for CommittedScene<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for CommittedScene<'a>

impl<'a> Send for CommittedScene<'a>

impl<'a> Unpin for CommittedScene<'a>

impl<'a> UnwindSafe for CommittedScene<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.