#[repr(C)]pub struct tm_render_graph_toolbox_api {
pub fullscreen_pass: Option<unsafe extern "C" fn(module: *mut tm_render_graph_module_o, setup: *mut tm_fullscreen_pass_setup_t, profiling_scope: *const c_char)>,
pub custom_fullscreen_pass: Option<unsafe extern "C" fn(module: *mut tm_render_graph_module_o, setup: tm_custom_fullscreen_setup, const_data: *const c_void, const_data_size: u32, profiling_scope: *const c_char)>,
pub material_pass: Option<unsafe extern "C" fn(module: *mut tm_render_graph_module_o, setup: *mut tm_material_pass_setup_t, profiling_scope: *const c_char)>,
pub debug_visualization_pass: Option<unsafe extern "C" fn(module: *mut tm_render_graph_module_o, setup: *mut tm_debug_visualization_pass_setup_t, profiling_scope: *const c_char)>,
pub setup_render_target_writes: Option<unsafe extern "C" fn(color_targets: *const tm_pass_render_target_t, depth_stencil_target: *const tm_pass_render_target_t, buffer_writes: *const tm_pass_buffer_write_t, graph_setup: *mut tm_render_graph_setup_o)>,
pub setup_render_target_descs: Option<unsafe extern "C" fn(color_targets: *mut tm_pass_render_target_t, depth_stencil_target: *mut tm_pass_render_target_t)>,
pub setup_fullscreen_pass: Option<unsafe extern "C" fn(setup: *mut tm_fullscreen_pass_setup_t, runtime_data: *mut c_void, graph_setup: *mut tm_render_graph_setup_o)>,
pub image_desc: Option<unsafe extern "C" fn(graph_setup: *mut tm_render_graph_setup_o, resource_name: u64) -> *const tm_renderer_image_buffer_t>,
}Fields§
§fullscreen_pass: Option<unsafe extern "C" fn(module: *mut tm_render_graph_module_o, setup: *mut tm_fullscreen_pass_setup_t, profiling_scope: *const c_char)>§custom_fullscreen_pass: Option<unsafe extern "C" fn(module: *mut tm_render_graph_module_o, setup: tm_custom_fullscreen_setup, const_data: *const c_void, const_data_size: u32, profiling_scope: *const c_char)>§material_pass: Option<unsafe extern "C" fn(module: *mut tm_render_graph_module_o, setup: *mut tm_material_pass_setup_t, profiling_scope: *const c_char)>§debug_visualization_pass: Option<unsafe extern "C" fn(module: *mut tm_render_graph_module_o, setup: *mut tm_debug_visualization_pass_setup_t, profiling_scope: *const c_char)>§setup_render_target_writes: Option<unsafe extern "C" fn(color_targets: *const tm_pass_render_target_t, depth_stencil_target: *const tm_pass_render_target_t, buffer_writes: *const tm_pass_buffer_write_t, graph_setup: *mut tm_render_graph_setup_o)>§setup_render_target_descs: Option<unsafe extern "C" fn(color_targets: *mut tm_pass_render_target_t, depth_stencil_target: *mut tm_pass_render_target_t)>§setup_fullscreen_pass: Option<unsafe extern "C" fn(setup: *mut tm_fullscreen_pass_setup_t, runtime_data: *mut c_void, graph_setup: *mut tm_render_graph_setup_o)>§image_desc: Option<unsafe extern "C" fn(graph_setup: *mut tm_render_graph_setup_o, resource_name: u64) -> *const tm_renderer_image_buffer_t>Trait Implementations§
Source§impl Clone for tm_render_graph_toolbox_api
impl Clone for tm_render_graph_toolbox_api
Source§fn clone(&self) -> tm_render_graph_toolbox_api
fn clone(&self) -> tm_render_graph_toolbox_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_toolbox_api
Auto Trait Implementations§
impl Freeze for tm_render_graph_toolbox_api
impl RefUnwindSafe for tm_render_graph_toolbox_api
impl Send for tm_render_graph_toolbox_api
impl Sync for tm_render_graph_toolbox_api
impl Unpin for tm_render_graph_toolbox_api
impl UnwindSafe for tm_render_graph_toolbox_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