#[repr(C)]pub struct tm_component_shader_system_api {
pub update_systems: Option<unsafe extern "C" fn(system_components: *const u32, systems: *mut *mut tm_component_shader_system_i, n_systems: u32, ctx: *mut tm_entity_context_o, entity: tm_entity_t, entity_transform: *const tm_mat44_t, res_buf: *mut tm_renderer_resource_command_buffer_o, device_affinity_mask: u32, active_systems: *mut tm_component_shader_system_t) -> u32>,
pub components: Option<unsafe extern "C" fn(systems: *mut *mut tm_component_shader_system_i, n_systems: u32, ctx: *mut tm_entity_context_o, ta: *mut tm_temp_allocator_i) -> *const u32>,
}Fields§
§update_systems: Option<unsafe extern "C" fn(system_components: *const u32, systems: *mut *mut tm_component_shader_system_i, n_systems: u32, ctx: *mut tm_entity_context_o, entity: tm_entity_t, entity_transform: *const tm_mat44_t, res_buf: *mut tm_renderer_resource_command_buffer_o, device_affinity_mask: u32, active_systems: *mut tm_component_shader_system_t) -> u32>§components: Option<unsafe extern "C" fn(systems: *mut *mut tm_component_shader_system_i, n_systems: u32, ctx: *mut tm_entity_context_o, ta: *mut tm_temp_allocator_i) -> *const u32>Trait Implementations§
Source§impl Clone for tm_component_shader_system_api
impl Clone for tm_component_shader_system_api
Source§fn clone(&self) -> tm_component_shader_system_api
fn clone(&self) -> tm_component_shader_system_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_component_shader_system_api
Auto Trait Implementations§
impl Freeze for tm_component_shader_system_api
impl RefUnwindSafe for tm_component_shader_system_api
impl Send for tm_component_shader_system_api
impl Sync for tm_component_shader_system_api
impl Unpin for tm_component_shader_system_api
impl UnwindSafe for tm_component_shader_system_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