#[repr(C)]pub struct tm_dcc_asset_renderer_api {
pub create: Option<unsafe extern "C" fn(*mut tm_renderer_backend_i, *mut tm_allocator_i, *mut tm_shader_repository_o, *mut tm_the_truth_o, tm_tt_id_t) -> *mut tm_dcc_asset_scene_o>,
pub destroy: Option<unsafe extern "C" fn(*mut tm_dcc_asset_scene_o, *mut tm_renderer_resource_command_buffer_o)>,
pub refresh_instance: Option<unsafe extern "C" fn(*mut tm_dcc_asset_scene_o, *mut tm_dcc_asset_scene_instance_o, *const tm_the_truth_o, *mut tm_renderer_resource_command_buffer_o, *mut tm_allocator_i)>,
pub update_instance_parameters: Option<unsafe extern "C" fn(*mut tm_dcc_asset_scene_o, *mut tm_dcc_asset_scene_instance_o, *mut tm_dcc_asset_renderer_frame_memory_thread_context_t, *mut tm_renderer_resource_command_buffer_o, u64, *const tm_mat44_t, *const tm_mat44_t)>,
pub render: Option<unsafe extern "C" fn(*mut tm_dcc_asset_scene_o, *mut tm_dcc_asset_scene_instance_o, *const tm_the_truth_o, *mut tm_shader_system_context_o, *mut tm_renderer_resource_command_buffer_o, *mut tm_renderer_command_buffer_o, *const tm_ci_render_viewer_t, *const tm_dcc_asset_renderer_shader_system_t)>,
}Fields§
§create: Option<unsafe extern "C" fn(*mut tm_renderer_backend_i, *mut tm_allocator_i, *mut tm_shader_repository_o, *mut tm_the_truth_o, tm_tt_id_t) -> *mut tm_dcc_asset_scene_o>§destroy: Option<unsafe extern "C" fn(*mut tm_dcc_asset_scene_o, *mut tm_renderer_resource_command_buffer_o)>§refresh_instance: Option<unsafe extern "C" fn(*mut tm_dcc_asset_scene_o, *mut tm_dcc_asset_scene_instance_o, *const tm_the_truth_o, *mut tm_renderer_resource_command_buffer_o, *mut tm_allocator_i)>§update_instance_parameters: Option<unsafe extern "C" fn(*mut tm_dcc_asset_scene_o, *mut tm_dcc_asset_scene_instance_o, *mut tm_dcc_asset_renderer_frame_memory_thread_context_t, *mut tm_renderer_resource_command_buffer_o, u64, *const tm_mat44_t, *const tm_mat44_t)>§render: Option<unsafe extern "C" fn(*mut tm_dcc_asset_scene_o, *mut tm_dcc_asset_scene_instance_o, *const tm_the_truth_o, *mut tm_shader_system_context_o, *mut tm_renderer_resource_command_buffer_o, *mut tm_renderer_command_buffer_o, *const tm_ci_render_viewer_t, *const tm_dcc_asset_renderer_shader_system_t)>Trait Implementations§
Source§impl Clone for tm_dcc_asset_renderer_api
impl Clone for tm_dcc_asset_renderer_api
Source§fn clone(&self) -> tm_dcc_asset_renderer_api
fn clone(&self) -> tm_dcc_asset_renderer_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_dcc_asset_renderer_api
Auto Trait Implementations§
impl Freeze for tm_dcc_asset_renderer_api
impl RefUnwindSafe for tm_dcc_asset_renderer_api
impl Send for tm_dcc_asset_renderer_api
impl Sync for tm_dcc_asset_renderer_api
impl Unpin for tm_dcc_asset_renderer_api
impl UnwindSafe for tm_dcc_asset_renderer_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