#[repr(C)]pub struct tm_dcc_asset_creation_graph_api {
pub create_truth_types: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o)>,
pub compile_data_to_wire: Option<unsafe extern "C" fn(inst: *mut tm_creation_graph_instance_t, wire: u32, tt: *const tm_the_truth_o, data_id: tm_tt_id_t, to_type_hash: u64) -> bool>,
pub register_graph_nodes: Option<unsafe extern "C" fn(reg: *mut tm_api_registry_api, load: bool)>,
pub create_resource_manager: Option<unsafe extern "C" fn(allocator: *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(tt: *mut tm_the_truth_o)>,
pub resource_cache: Option<unsafe extern "C" fn(tt: *const tm_the_truth_o, asset: tm_tt_id_t, wanted_version: u64) -> *mut tm_dcc_asset_gpu_resource_cache_o>,
pub buffer_handle: Option<unsafe extern "C" fn(resource_cache: *mut tm_dcc_asset_gpu_resource_cache_o, tt: *const tm_the_truth_o, object: tm_tt_id_t, additional_usage_flags: u32, backend: *mut tm_renderer_backend_i, device_affinity_mask: u32, res_buf: *mut tm_renderer_resource_command_buffer_o, validity_hash: *mut u64) -> u32>,
pub image_handle: Option<unsafe extern "C" fn(resource_cache: *mut tm_dcc_asset_gpu_resource_cache_o, tt: *const tm_the_truth_o, object: tm_tt_id_t, additional_usage_flags: u32, backend: *mut tm_renderer_backend_i, device_affinity_mask: u32, res_buf: *mut tm_renderer_resource_command_buffer_o, image_desc: *mut tm_renderer_image_buffer_t, validity_hash: *mut u64, context: *mut tm_creation_graph_context_t, instance: *mut tm_creation_graph_instance_t) -> u32>,
}Fields§
§create_truth_types: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o)>§compile_data_to_wire: Option<unsafe extern "C" fn(inst: *mut tm_creation_graph_instance_t, wire: u32, tt: *const tm_the_truth_o, data_id: tm_tt_id_t, to_type_hash: u64) -> bool>§register_graph_nodes: Option<unsafe extern "C" fn(reg: *mut tm_api_registry_api, load: bool)>§create_resource_manager: Option<unsafe extern "C" fn(allocator: *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(tt: *mut tm_the_truth_o)>§resource_cache: Option<unsafe extern "C" fn(tt: *const tm_the_truth_o, asset: tm_tt_id_t, wanted_version: u64) -> *mut tm_dcc_asset_gpu_resource_cache_o>§buffer_handle: Option<unsafe extern "C" fn(resource_cache: *mut tm_dcc_asset_gpu_resource_cache_o, tt: *const tm_the_truth_o, object: tm_tt_id_t, additional_usage_flags: u32, backend: *mut tm_renderer_backend_i, device_affinity_mask: u32, res_buf: *mut tm_renderer_resource_command_buffer_o, validity_hash: *mut u64) -> u32>§image_handle: Option<unsafe extern "C" fn(resource_cache: *mut tm_dcc_asset_gpu_resource_cache_o, tt: *const tm_the_truth_o, object: tm_tt_id_t, additional_usage_flags: u32, backend: *mut tm_renderer_backend_i, device_affinity_mask: u32, res_buf: *mut tm_renderer_resource_command_buffer_o, image_desc: *mut tm_renderer_image_buffer_t, validity_hash: *mut u64, context: *mut tm_creation_graph_context_t, instance: *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 UnsafeUnpin 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