[][src]Struct tm_rs::ffi::tm_ci_shader_i

#[repr(C)]pub struct tm_ci_shader_i {
    pub init: Option<unsafe extern "C" fn(*mut tm_component_manager_o, *const tm_entity_t, *const u32, *mut *mut c_void, u32)>,
    pub graph_module_inject: Option<unsafe extern "C" fn(*mut tm_component_manager_o, *mut tm_render_graph_module_o)>,
    pub bounding_volume_type: Option<unsafe extern "C" fn(*mut tm_component_manager_o) -> u32>,
    pub fill_bounding_volume_buffer: Option<unsafe extern "C" fn(*mut tm_component_manager_o, *const tm_transform_t, *const u32, *mut *mut c_void, u32, *mut u8)>,
    pub update: Option<unsafe extern "C" fn(*mut tm_component_manager_o, *mut tm_render_args_t, *const tm_entity_t, *const tm_transform_component_t, *const u32, *mut *mut c_void, u32, *const u8)>,
}

Fields

init: Option<unsafe extern "C" fn(*mut tm_component_manager_o, *const tm_entity_t, *const u32, *mut *mut c_void, u32)>graph_module_inject: Option<unsafe extern "C" fn(*mut tm_component_manager_o, *mut tm_render_graph_module_o)>bounding_volume_type: Option<unsafe extern "C" fn(*mut tm_component_manager_o) -> u32>fill_bounding_volume_buffer: Option<unsafe extern "C" fn(*mut tm_component_manager_o, *const tm_transform_t, *const u32, *mut *mut c_void, u32, *mut u8)>update: Option<unsafe extern "C" fn(*mut tm_component_manager_o, *mut tm_render_args_t, *const tm_entity_t, *const tm_transform_component_t, *const u32, *mut *mut c_void, u32, *const u8)>

Trait Implementations

impl Clone for tm_ci_shader_i[src]

impl Copy for tm_ci_shader_i[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<T> CloneAny for T where
    T: Clone + Any
[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.