[][src]Struct tm_rs::ffi::tm_animation_blender_api

#[repr(C)]pub struct tm_animation_blender_api {
    pub blend: Option<unsafe extern "C" fn(*mut tm_animation_pose_t, f32, *const tm_animation_pose_t, f32)>,
    pub offset_blend: Option<unsafe extern "C" fn(*mut tm_animation_pose_t, *const tm_animation_pose_t, f32, *const tm_bone_weights_t)>,
    pub mix: Option<unsafe extern "C" fn(*mut tm_animation_pose_t, *mut *const tm_animation_pose_t, *const f32, u32)>,
    pub create_blender: Option<unsafe extern "C" fn(*mut tm_allocator_i) -> *mut tm_animation_blender_o>,
    pub destroy_blender: Option<unsafe extern "C" fn(*mut tm_animation_blender_o)>,
    pub create_blend: Option<unsafe extern "C" fn(*mut tm_animation_blender_o, u32) -> *mut tm_animation_blend_o>,
    pub destroy_blend: Option<unsafe extern "C" fn(*mut tm_animation_blend_o)>,
    pub tick: Option<unsafe extern "C" fn(*mut tm_animation_blender_o, f32) -> *mut tm_atomic_counter_o>,
    pub play_animation: Option<unsafe extern "C" fn(*mut tm_animation_blend_o, u32, *mut tm_animation_player_playing_o, f32) -> *mut tm_animation_blender_playing_o>,
    pub play_empty: Option<unsafe extern "C" fn(*mut tm_animation_blend_o, u32, f32)>,
    pub play_pose: Option<unsafe extern "C" fn(*mut tm_animation_blend_o, u32, *const tm_animation_pose_t, f32) -> *mut tm_animation_blender_playing_o>,
    pub update_pose: Option<unsafe extern "C" fn(*mut tm_animation_blender_playing_o, *const tm_animation_pose_t)>,
    pub play_mix: Option<unsafe extern "C" fn(*mut tm_animation_blend_o, u32, *mut *mut tm_animation_player_playing_o, *const f32, u32, f32) -> *mut tm_animation_blender_playing_o>,
    pub update_mix_weights: Option<unsafe extern "C" fn(*mut tm_animation_blender_playing_o, *const f32)>,
    pub set_bone_weights: Option<unsafe extern "C" fn(*mut tm_animation_blender_playing_o, *const tm_bone_weights_t)>,
    pub blend_step: Option<unsafe extern "C" fn(*mut tm_animation_blend_o, f32)>,
    pub blend_compute_pose: Option<unsafe extern "C" fn(*mut tm_animation_blend_o) -> *mut tm_animation_pose_t>,
    pub blend_pose: Option<unsafe extern "C" fn(*mut tm_animation_blend_o) -> *mut tm_animation_pose_t>,
    pub locomotion_delta: Option<unsafe extern "C" fn(*mut tm_animation_blend_o) -> tm_transform_t>,
}

Fields

blend: Option<unsafe extern "C" fn(*mut tm_animation_pose_t, f32, *const tm_animation_pose_t, f32)>offset_blend: Option<unsafe extern "C" fn(*mut tm_animation_pose_t, *const tm_animation_pose_t, f32, *const tm_bone_weights_t)>mix: Option<unsafe extern "C" fn(*mut tm_animation_pose_t, *mut *const tm_animation_pose_t, *const f32, u32)>create_blender: Option<unsafe extern "C" fn(*mut tm_allocator_i) -> *mut tm_animation_blender_o>destroy_blender: Option<unsafe extern "C" fn(*mut tm_animation_blender_o)>create_blend: Option<unsafe extern "C" fn(*mut tm_animation_blender_o, u32) -> *mut tm_animation_blend_o>destroy_blend: Option<unsafe extern "C" fn(*mut tm_animation_blend_o)>tick: Option<unsafe extern "C" fn(*mut tm_animation_blender_o, f32) -> *mut tm_atomic_counter_o>play_animation: Option<unsafe extern "C" fn(*mut tm_animation_blend_o, u32, *mut tm_animation_player_playing_o, f32) -> *mut tm_animation_blender_playing_o>play_empty: Option<unsafe extern "C" fn(*mut tm_animation_blend_o, u32, f32)>play_pose: Option<unsafe extern "C" fn(*mut tm_animation_blend_o, u32, *const tm_animation_pose_t, f32) -> *mut tm_animation_blender_playing_o>update_pose: Option<unsafe extern "C" fn(*mut tm_animation_blender_playing_o, *const tm_animation_pose_t)>play_mix: Option<unsafe extern "C" fn(*mut tm_animation_blend_o, u32, *mut *mut tm_animation_player_playing_o, *const f32, u32, f32) -> *mut tm_animation_blender_playing_o>update_mix_weights: Option<unsafe extern "C" fn(*mut tm_animation_blender_playing_o, *const f32)>set_bone_weights: Option<unsafe extern "C" fn(*mut tm_animation_blender_playing_o, *const tm_bone_weights_t)>blend_step: Option<unsafe extern "C" fn(*mut tm_animation_blend_o, f32)>blend_compute_pose: Option<unsafe extern "C" fn(*mut tm_animation_blend_o) -> *mut tm_animation_pose_t>blend_pose: Option<unsafe extern "C" fn(*mut tm_animation_blend_o) -> *mut tm_animation_pose_t>locomotion_delta: Option<unsafe extern "C" fn(*mut tm_animation_blend_o) -> tm_transform_t>

Trait Implementations

impl Clone for tm_animation_blender_api[src]

impl Copy for tm_animation_blender_api[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.