#[repr(C)]pub struct tm_render_graph_module_api {
pub create: Option<unsafe extern "C" fn(*mut tm_allocator_i, *const i8) -> *mut tm_render_graph_module_o>,
pub destroy: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, *mut tm_renderer_resource_command_buffer_o)>,
pub add_pass: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, *mut tm_render_graph_pass_i)>,
pub add_extension_point: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, u64)>,
pub insert_extension: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, u64, *mut tm_render_graph_module_o, f32) -> bool>,
pub add_sub_module: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, u64, *mut tm_render_graph_module_o)>,
pub init_passes: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, *mut tm_renderer_resource_command_buffer_o)>,
pub set_editor_submenu_interface: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, *mut tm_render_graph_module_editor_submenu_i)>,
pub editor_submenu: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, *mut tm_ui_o, *const tm_ui_style_t, tm_vec2_t)>,
pub create_persistent_gpu_image: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, u64, *const tm_renderer_image_buffer_t, u64)>,
pub create_persistent_gpu_buffer: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, u64, *const tm_renderer_buffer_t, u64)>,
}Fields§
§create: Option<unsafe extern "C" fn(*mut tm_allocator_i, *const i8) -> *mut tm_render_graph_module_o>§destroy: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, *mut tm_renderer_resource_command_buffer_o)>§add_pass: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, *mut tm_render_graph_pass_i)>§add_extension_point: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, u64)>§insert_extension: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, u64, *mut tm_render_graph_module_o, f32) -> bool>§add_sub_module: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, u64, *mut tm_render_graph_module_o)>§init_passes: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, *mut tm_renderer_resource_command_buffer_o)>§create_persistent_gpu_image: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, u64, *const tm_renderer_image_buffer_t, u64)>§create_persistent_gpu_buffer: Option<unsafe extern "C" fn(*mut tm_render_graph_module_o, u64, *const tm_renderer_buffer_t, u64)>Trait Implementations§
Source§impl Clone for tm_render_graph_module_api
impl Clone for tm_render_graph_module_api
Source§fn clone(&self) -> tm_render_graph_module_api
fn clone(&self) -> tm_render_graph_module_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_render_graph_module_api
Auto Trait Implementations§
impl Freeze for tm_render_graph_module_api
impl RefUnwindSafe for tm_render_graph_module_api
impl Send for tm_render_graph_module_api
impl Sync for tm_render_graph_module_api
impl Unpin for tm_render_graph_module_api
impl UnwindSafe for tm_render_graph_module_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