#[repr(C)]pub struct tm_render_graph_pass_api {
pub init_pass: Option<unsafe extern "C" fn(*mut c_void, *mut tm_allocator_i, *mut tm_renderer_resource_command_buffer_o)>,
pub shutdown_pass: Option<unsafe extern "C" fn(*mut c_void, *mut tm_allocator_i, *mut tm_renderer_resource_command_buffer_o)>,
pub setup_pass: Option<unsafe extern "C" fn(*const c_void, *mut c_void, *mut tm_render_graph_setup_o)>,
pub execute_pass: Option<unsafe extern "C" fn(*const c_void, *mut c_void, u64, *mut tm_render_graph_execute_o)>,
}Fields§
§init_pass: Option<unsafe extern "C" fn(*mut c_void, *mut tm_allocator_i, *mut tm_renderer_resource_command_buffer_o)>§shutdown_pass: Option<unsafe extern "C" fn(*mut c_void, *mut tm_allocator_i, *mut tm_renderer_resource_command_buffer_o)>§setup_pass: Option<unsafe extern "C" fn(*const c_void, *mut c_void, *mut tm_render_graph_setup_o)>§execute_pass: Option<unsafe extern "C" fn(*const c_void, *mut c_void, u64, *mut tm_render_graph_execute_o)>Trait Implementations§
Source§impl Clone for tm_render_graph_pass_api
impl Clone for tm_render_graph_pass_api
Source§fn clone(&self) -> tm_render_graph_pass_api
fn clone(&self) -> tm_render_graph_pass_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_pass_api
Auto Trait Implementations§
impl Freeze for tm_render_graph_pass_api
impl RefUnwindSafe for tm_render_graph_pass_api
impl Send for tm_render_graph_pass_api
impl Sync for tm_render_graph_pass_api
impl Unpin for tm_render_graph_pass_api
impl UnwindSafe for tm_render_graph_pass_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