[][src]Struct tm_rs::ffi::tm_frustum_culling_api

#[repr(C)]pub struct tm_frustum_culling_api {
    pub viewer_from_projection_mat: Option<unsafe extern "C" fn(*const tm_mat44_t, *const tm_mat44_t, u64) -> tm_culling_viewer_t>,
    pub calc_size_of_objects_buffer: Option<unsafe extern "C" fn(u32, u32) -> u32>,
    pub calc_size_of_results_buffer: Option<unsafe extern "C" fn(u32, u32) -> u32>,
    pub cull: Option<unsafe extern "C" fn(*const tm_culling_viewer_t, u32, u32, *const u8, u32, *mut u8, *mut tm_temp_allocator_i) -> *mut tm_atomic_counter_o>,
}

Fields

viewer_from_projection_mat: Option<unsafe extern "C" fn(*const tm_mat44_t, *const tm_mat44_t, u64) -> tm_culling_viewer_t>calc_size_of_objects_buffer: Option<unsafe extern "C" fn(u32, u32) -> u32>calc_size_of_results_buffer: Option<unsafe extern "C" fn(u32, u32) -> u32>cull: Option<unsafe extern "C" fn(*const tm_culling_viewer_t, u32, u32, *const u8, u32, *mut u8, *mut tm_temp_allocator_i) -> *mut tm_atomic_counter_o>

Trait Implementations

impl Clone for tm_frustum_culling_api[src]

impl Copy for tm_frustum_culling_api[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<T> CloneAny for T where
    T: Clone + Any
[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.