#[repr(C)]pub struct tm_dcc_asset_creation_graph_api {
pub create_truth_types: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>,
pub compile_data_to_wire: Option<unsafe extern "C" fn(*mut tm_creation_graph_instance_t, u32, *const tm_the_truth_o, tm_tt_id_t, u64) -> bool>,
pub register_graph_nodes: Option<unsafe extern "C" fn(*mut tm_api_registry_api, bool)>,
pub create_resource_manager: Option<unsafe extern "C" fn(*mut tm_allocator_i)>,
pub update_resource_manager: Option<unsafe extern "C" fn()>,
pub destroy_resource_manager: Option<unsafe extern "C" fn()>,
pub set_the_truth: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>,
pub resource_cache: Option<unsafe extern "C" fn(*const tm_the_truth_o, tm_tt_id_t, u64) -> *mut tm_dcc_asset_gpu_resource_cache_o>,
pub buffer_handle: Option<unsafe extern "C" fn(*mut tm_dcc_asset_gpu_resource_cache_o, *const tm_the_truth_o, tm_tt_id_t, u32, *mut tm_renderer_backend_i, u32, *mut tm_renderer_resource_command_buffer_o, *mut u64) -> u32>,
pub image_handle: Option<unsafe extern "C" fn(*mut tm_dcc_asset_gpu_resource_cache_o, *const tm_the_truth_o, tm_tt_id_t, u32, *mut tm_renderer_backend_i, u32, *mut tm_renderer_resource_command_buffer_o, *mut tm_renderer_image_buffer_t, *mut u64, *mut tm_creation_graph_context_t, *mut tm_creation_graph_instance_t) -> u32>,
}Fields§
§create_truth_types: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>§compile_data_to_wire: Option<unsafe extern "C" fn(*mut tm_creation_graph_instance_t, u32, *const tm_the_truth_o, tm_tt_id_t, u64) -> bool>§register_graph_nodes: Option<unsafe extern "C" fn(*mut tm_api_registry_api, bool)>§create_resource_manager: Option<unsafe extern "C" fn(*mut tm_allocator_i)>§update_resource_manager: Option<unsafe extern "C" fn()>§destroy_resource_manager: Option<unsafe extern "C" fn()>§set_the_truth: Option<unsafe extern "C" fn(*mut tm_the_truth_o)>§resource_cache: Option<unsafe extern "C" fn(*const tm_the_truth_o, tm_tt_id_t, u64) -> *mut tm_dcc_asset_gpu_resource_cache_o>§buffer_handle: Option<unsafe extern "C" fn(*mut tm_dcc_asset_gpu_resource_cache_o, *const tm_the_truth_o, tm_tt_id_t, u32, *mut tm_renderer_backend_i, u32, *mut tm_renderer_resource_command_buffer_o, *mut u64) -> u32>§image_handle: Option<unsafe extern "C" fn(*mut tm_dcc_asset_gpu_resource_cache_o, *const tm_the_truth_o, tm_tt_id_t, u32, *mut tm_renderer_backend_i, u32, *mut tm_renderer_resource_command_buffer_o, *mut tm_renderer_image_buffer_t, *mut u64, *mut tm_creation_graph_context_t, *mut tm_creation_graph_instance_t) -> u32>Trait Implementations§
Source§impl Clone for tm_dcc_asset_creation_graph_api
impl Clone for tm_dcc_asset_creation_graph_api
Source§fn clone(&self) -> tm_dcc_asset_creation_graph_api
fn clone(&self) -> tm_dcc_asset_creation_graph_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_creation_graph_api
Auto Trait Implementations§
impl Freeze for tm_dcc_asset_creation_graph_api
impl RefUnwindSafe for tm_dcc_asset_creation_graph_api
impl Send for tm_dcc_asset_creation_graph_api
impl Sync for tm_dcc_asset_creation_graph_api
impl Unpin for tm_dcc_asset_creation_graph_api
impl UnwindSafe for tm_dcc_asset_creation_graph_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