[][src]Struct tm_sys::ffi::tm_render_graph_pass_api

#[repr(C)]pub struct tm_render_graph_pass_api {
    pub init_pass: Option<unsafe extern "C" fn(const_data: *mut c_void, allocator: *mut tm_allocator_i, res_buf: *mut tm_renderer_resource_command_buffer_o)>,
    pub shutdown_pass: Option<unsafe extern "C" fn(const_data: *mut c_void, allocator: *mut tm_allocator_i, res_buf: *mut tm_renderer_resource_command_buffer_o)>,
    pub setup_pass: Option<unsafe extern "C" fn(const_data: *const c_void, runtime_data: *mut c_void, graph_setup: *mut tm_render_graph_setup_o)>,
    pub execute_pass: Option<unsafe extern "C" fn(const_data: *const c_void, runtime_data: *mut c_void, sort_key: u64, graph_execute: *mut tm_render_graph_execute_o)>,
}

Fields

init_pass: Option<unsafe extern "C" fn(const_data: *mut c_void, allocator: *mut tm_allocator_i, res_buf: *mut tm_renderer_resource_command_buffer_o)>shutdown_pass: Option<unsafe extern "C" fn(const_data: *mut c_void, allocator: *mut tm_allocator_i, res_buf: *mut tm_renderer_resource_command_buffer_o)>setup_pass: Option<unsafe extern "C" fn(const_data: *const c_void, runtime_data: *mut c_void, graph_setup: *mut tm_render_graph_setup_o)>execute_pass: Option<unsafe extern "C" fn(const_data: *const c_void, runtime_data: *mut c_void, sort_key: u64, graph_execute: *mut tm_render_graph_execute_o)>

Trait Implementations

impl Clone for tm_render_graph_pass_api[src]

impl Copy for tm_render_graph_pass_api[src]

impl Debug for tm_render_graph_pass_api[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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.