#[repr(C)]pub struct tm_frustum_culling_api {
pub viewer_from_projection_mat: Option<unsafe extern "C" fn(view_tm: *const tm_mat44_t, projection_tm: *const tm_mat44_t, visibility_mask: u64) -> tm_culling_viewer_t>,
pub calc_size_of_objects_buffer: Option<unsafe extern "C" fn(bv_type: u32, num_objects: u32) -> u32>,
pub calc_size_of_results_buffer: Option<unsafe extern "C" fn(num_viewers: u32, num_objects: u32) -> u32>,
pub cull: Option<unsafe extern "C" fn(viewers: *const tm_culling_viewer_t, num_viewers: u32, bv_type: u32, objects: *const u8, num_objects: u32, results: *mut u8, ta: *mut tm_temp_allocator_i) -> *mut tm_atomic_counter_o>,
}Fields§
§viewer_from_projection_mat: Option<unsafe extern "C" fn(view_tm: *const tm_mat44_t, projection_tm: *const tm_mat44_t, visibility_mask: u64) -> tm_culling_viewer_t>§calc_size_of_objects_buffer: Option<unsafe extern "C" fn(bv_type: u32, num_objects: u32) -> u32>§calc_size_of_results_buffer: Option<unsafe extern "C" fn(num_viewers: u32, num_objects: u32) -> u32>§cull: Option<unsafe extern "C" fn(viewers: *const tm_culling_viewer_t, num_viewers: u32, bv_type: u32, objects: *const u8, num_objects: u32, results: *mut u8, ta: *mut tm_temp_allocator_i) -> *mut tm_atomic_counter_o>Trait Implementations§
Source§impl Clone for tm_frustum_culling_api
impl Clone for tm_frustum_culling_api
Source§fn clone(&self) -> tm_frustum_culling_api
fn clone(&self) -> tm_frustum_culling_api
Returns a duplicate 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 moreimpl Copy for tm_frustum_culling_api
Auto Trait Implementations§
impl Freeze for tm_frustum_culling_api
impl RefUnwindSafe for tm_frustum_culling_api
impl Send for tm_frustum_culling_api
impl Sync for tm_frustum_culling_api
impl Unpin for tm_frustum_culling_api
impl UnsafeUnpin for tm_frustum_culling_api
impl UnwindSafe for tm_frustum_culling_api
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