#[repr(C)]pub struct tm_shadow_mapping_api {
pub create_manager: Option<unsafe extern "C" fn(allocator: *mut tm_allocator_i, viewer_system: *mut tm_shader_system_o, visibility_mask: u64, shadow_atlas_width: u32, shadow_atlas_height: u32, res_buf: *mut tm_renderer_resource_command_buffer_o) -> *mut tm_shadow_map_manager_o>,
pub destroy_manager: Option<unsafe extern "C" fn(manager: *mut tm_shadow_map_manager_o, res_buf: *mut tm_renderer_resource_command_buffer_o)>,
pub shadow_passes: Option<unsafe extern "C" fn(mod_: *mut tm_render_graph_module_o, shadow_map_manager: *mut tm_shadow_map_manager_o, blackboard_lighting_system_name: u64)>,
}Fields§
§create_manager: Option<unsafe extern "C" fn(allocator: *mut tm_allocator_i, viewer_system: *mut tm_shader_system_o, visibility_mask: u64, shadow_atlas_width: u32, shadow_atlas_height: u32, res_buf: *mut tm_renderer_resource_command_buffer_o) -> *mut tm_shadow_map_manager_o>§destroy_manager: Option<unsafe extern "C" fn(manager: *mut tm_shadow_map_manager_o, res_buf: *mut tm_renderer_resource_command_buffer_o)>§shadow_passes: Option<unsafe extern "C" fn(mod_: *mut tm_render_graph_module_o, shadow_map_manager: *mut tm_shadow_map_manager_o, blackboard_lighting_system_name: u64)>Trait Implementations§
Source§impl Clone for tm_shadow_mapping_api
impl Clone for tm_shadow_mapping_api
Source§fn clone(&self) -> tm_shadow_mapping_api
fn clone(&self) -> tm_shadow_mapping_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_shadow_mapping_api
Auto Trait Implementations§
impl Freeze for tm_shadow_mapping_api
impl RefUnwindSafe for tm_shadow_mapping_api
impl Send for tm_shadow_mapping_api
impl Sync for tm_shadow_mapping_api
impl Unpin for tm_shadow_mapping_api
impl UnwindSafe for tm_shadow_mapping_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