[][src]Struct tm_sys::ffi::tm_shadow_mapping_api

#[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

impl Clone for tm_shadow_mapping_api[src]

impl Copy for tm_shadow_mapping_api[src]

impl Debug for tm_shadow_mapping_api[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.