[][src]Struct tm_sys::ffi::tm_grid_renderer_api

#[repr(C)]pub struct tm_grid_renderer_api {
    pub create_truth_types: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o)>,
    pub read_from_truth_settings: Option<unsafe extern "C" fn(grid: *mut tm_visual_grid_t, tt: *mut tm_the_truth_o, grid_settings: tm_tt_id_t)>,
    pub render: Option<unsafe extern "C" fn(context: *const tm_shader_system_context_o, grid_shader: *mut tm_shader_o, grid: *const tm_visual_grid_t, res_buf: *mut tm_renderer_resource_command_buffer_o, cmd_buf: *mut tm_renderer_command_buffer_o, sort_key: u64)>,
}

Fields

create_truth_types: Option<unsafe extern "C" fn(tt: *mut tm_the_truth_o)>read_from_truth_settings: Option<unsafe extern "C" fn(grid: *mut tm_visual_grid_t, tt: *mut tm_the_truth_o, grid_settings: tm_tt_id_t)>render: Option<unsafe extern "C" fn(context: *const tm_shader_system_context_o, grid_shader: *mut tm_shader_o, grid: *const tm_visual_grid_t, res_buf: *mut tm_renderer_resource_command_buffer_o, cmd_buf: *mut tm_renderer_command_buffer_o, sort_key: u64)>

Trait Implementations

impl Clone for tm_grid_renderer_api[src]

impl Copy for tm_grid_renderer_api[src]

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