#[repr(C)]pub struct tm_ci_render_i {
pub init: Option<unsafe extern "C" fn(manager: *mut tm_component_manager_o, entities: *const tm_entity_t, entity_indices: *const u32, render_component_data: *mut *mut c_void, num_renderables: u32)>,
pub render: Option<unsafe extern "C" fn(manager: *mut tm_component_manager_o, args: *mut tm_render_args_t, viewers: *const tm_ci_render_viewer_t, num_viewers: u32, entities: *const tm_entity_t, entity_transforms: *const tm_transform_component_t, entity_selection_state: *const bool, entity_indices: *const u32, render_component_data: *mut *mut c_void, num_renderables: u32, frustum_visibility: *const u8)>,
pub bounding_volume_type: Option<unsafe extern "C" fn(manager: *mut tm_component_manager_o) -> u32>,
pub fill_bounding_volume_buffer: Option<unsafe extern "C" fn(manager: *mut tm_component_manager_o, entities: *const tm_entity_t, entity_transforms: *const tm_transform_component_t, entity_indices: *const u32, render_component_data: *mut *mut c_void, num_renderables: u32, bv_buffer: *mut u8)>,
}Fields§
§init: Option<unsafe extern "C" fn(manager: *mut tm_component_manager_o, entities: *const tm_entity_t, entity_indices: *const u32, render_component_data: *mut *mut c_void, num_renderables: u32)>§render: Option<unsafe extern "C" fn(manager: *mut tm_component_manager_o, args: *mut tm_render_args_t, viewers: *const tm_ci_render_viewer_t, num_viewers: u32, entities: *const tm_entity_t, entity_transforms: *const tm_transform_component_t, entity_selection_state: *const bool, entity_indices: *const u32, render_component_data: *mut *mut c_void, num_renderables: u32, frustum_visibility: *const u8)>§bounding_volume_type: Option<unsafe extern "C" fn(manager: *mut tm_component_manager_o) -> u32>§fill_bounding_volume_buffer: Option<unsafe extern "C" fn(manager: *mut tm_component_manager_o, entities: *const tm_entity_t, entity_transforms: *const tm_transform_component_t, entity_indices: *const u32, render_component_data: *mut *mut c_void, num_renderables: u32, bv_buffer: *mut u8)>Trait Implementations§
Source§impl Clone for tm_ci_render_i
impl Clone for tm_ci_render_i
Source§fn clone(&self) -> tm_ci_render_i
fn clone(&self) -> tm_ci_render_i
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_ci_render_i
Auto Trait Implementations§
impl Freeze for tm_ci_render_i
impl RefUnwindSafe for tm_ci_render_i
impl Send for tm_ci_render_i
impl Sync for tm_ci_render_i
impl Unpin for tm_ci_render_i
impl UnwindSafe for tm_ci_render_i
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