Struct rafx_visibility::VisibilityWorldArc[][src]

pub struct VisibilityWorldArc {
    pub inner: Arc<Mutex<VisibilityWorld>>,
    // some fields omitted
}

Fields

inner: Arc<Mutex<VisibilityWorld>>

Implementations

impl VisibilityWorldArc[src]

pub fn new() -> Self[src]

pub fn update(&self)[src]

pub fn new_async_command_sender(&self) -> Sender<AsyncCommand>[src]

pub fn query_visibility(
    &self,
    view_frustum: ViewFrustumHandle,
    result: &mut VisibilityQuery
) -> Result<(), QueryError>
[src]

Queries visibility for a ViewFrustum. The result is a VisibilityQuery. This function is thread-safe.

pub fn query_shadow_casters(
    &self,
    _light: ViewFrustumHandle,
    _shadowed: &[ViewFrustumHandle],
    _result: &mut VisibilityQuery
)
[src]

Queries shadow casters for a ViewFrustum representing a light. The result is a VisibilityQuery. The objects in result are able to cast shadows into at least one of the shadowed frustums. This function is thread-safe.

Trait Implementations

impl Clone for VisibilityWorldArc[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.