[][src]Struct tm_sys::ffi::tm_render_graph_execute_api

#[repr(C)]pub struct tm_render_graph_execute_api {
    pub default_command_buffer: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o) -> *mut tm_renderer_command_buffer_o>,
    pub default_resource_command_buffer: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o) -> *mut tm_renderer_resource_command_buffer_o>,
    pub shader_context: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o) -> *const tm_shader_system_context_o>,
    pub device_affinity_mask: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o) -> u32>,
    pub backend_handle: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o, graph_handle: tm_render_graph_handle_t) -> u32>,
    pub run_sub_module: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o, sub_module_name: u64, sort_key: u64, commands: *mut tm_renderer_command_buffer_o)>,
    pub read_blackboard: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o, key: u64, value: *mut tm_render_graph_blackboard_value) -> bool>,
    pub append_viewers: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o, viewers: *const tm_render_graph_viewer_t, num_viewers: u32)>,
}

Fields

default_command_buffer: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o) -> *mut tm_renderer_command_buffer_o>default_resource_command_buffer: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o) -> *mut tm_renderer_resource_command_buffer_o>shader_context: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o) -> *const tm_shader_system_context_o>device_affinity_mask: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o) -> u32>backend_handle: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o, graph_handle: tm_render_graph_handle_t) -> u32>run_sub_module: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o, sub_module_name: u64, sort_key: u64, commands: *mut tm_renderer_command_buffer_o)>read_blackboard: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o, key: u64, value: *mut tm_render_graph_blackboard_value) -> bool>append_viewers: Option<unsafe extern "C" fn(graph_execute: *mut tm_render_graph_execute_o, viewers: *const tm_render_graph_viewer_t, num_viewers: u32)>

Trait Implementations

impl Clone for tm_render_graph_execute_api[src]

impl Copy for tm_render_graph_execute_api[src]

impl Debug for tm_render_graph_execute_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.