#[repr(C)]pub struct tm_viewer_manager_api {
pub create_manager: Option<unsafe extern "C" fn(*mut tm_allocator_i, *mut tm_renderer_backend_i, *mut tm_shader_repository_o, u32, *mut tm_visibility_context_o, u64) -> *mut tm_viewer_manager_o>,
pub destroy_manager: Option<unsafe extern "C" fn(*mut tm_viewer_manager_o, *mut tm_renderer_resource_command_buffer_o)>,
pub create: Option<unsafe extern "C" fn(*mut tm_viewer_manager_o) -> *mut tm_viewer_o>,
pub destroy: Option<unsafe extern "C" fn(*mut tm_viewer_manager_o, *mut tm_viewer_o, *mut tm_renderer_resource_command_buffer_o)>,
pub viewers: Option<unsafe extern "C" fn(*mut tm_viewer_manager_o) -> *mut *mut tm_viewer_o>,
pub render: Option<unsafe extern "C" fn(*mut tm_viewer_manager_o, *const tm_shader_system_context_o, *const tm_the_truth_o, *const tm_render_pipeline_update_frame_parameters_t)>,
}Fields§
§create_manager: Option<unsafe extern "C" fn(*mut tm_allocator_i, *mut tm_renderer_backend_i, *mut tm_shader_repository_o, u32, *mut tm_visibility_context_o, u64) -> *mut tm_viewer_manager_o>§destroy_manager: Option<unsafe extern "C" fn(*mut tm_viewer_manager_o, *mut tm_renderer_resource_command_buffer_o)>§create: Option<unsafe extern "C" fn(*mut tm_viewer_manager_o) -> *mut tm_viewer_o>§destroy: Option<unsafe extern "C" fn(*mut tm_viewer_manager_o, *mut tm_viewer_o, *mut tm_renderer_resource_command_buffer_o)>§viewers: Option<unsafe extern "C" fn(*mut tm_viewer_manager_o) -> *mut *mut tm_viewer_o>§render: Option<unsafe extern "C" fn(*mut tm_viewer_manager_o, *const tm_shader_system_context_o, *const tm_the_truth_o, *const tm_render_pipeline_update_frame_parameters_t)>Trait Implementations§
Source§impl Clone for tm_viewer_manager_api
impl Clone for tm_viewer_manager_api
Source§fn clone(&self) -> tm_viewer_manager_api
fn clone(&self) -> tm_viewer_manager_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_viewer_manager_api
Auto Trait Implementations§
impl Freeze for tm_viewer_manager_api
impl RefUnwindSafe for tm_viewer_manager_api
impl Send for tm_viewer_manager_api
impl Sync for tm_viewer_manager_api
impl Unpin for tm_viewer_manager_api
impl UnwindSafe for tm_viewer_manager_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