[][src]Struct tm_rs::ffi::tm_dcc_asset_creation_graph_api

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

impl Clone for tm_dcc_asset_creation_graph_api[src]

impl Copy for tm_dcc_asset_creation_graph_api[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<T> CloneAny for T where
    T: Clone + Any
[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.