#[repr(C)]pub struct JPH_DebugRenderer_Procs {
pub DrawLine: Option<unsafe extern "C" fn(userData: *mut c_void, from: *const JPH_RVec3, to: *const JPH_RVec3, color: JPH_Color)>,
pub DrawTriangle: Option<unsafe extern "C" fn(userData: *mut c_void, v1: *const JPH_RVec3, v2: *const JPH_RVec3, v3: *const JPH_RVec3, color: JPH_Color, castShadow: JPH_DebugRenderer_CastShadow)>,
pub DrawText3D: Option<unsafe extern "C" fn(userData: *mut c_void, position: *const JPH_RVec3, str_: *const c_char, color: JPH_Color, height: f32)>,
}Fields§
§DrawLine: Option<unsafe extern "C" fn(userData: *mut c_void, from: *const JPH_RVec3, to: *const JPH_RVec3, color: JPH_Color)>§DrawTriangle: Option<unsafe extern "C" fn(userData: *mut c_void, v1: *const JPH_RVec3, v2: *const JPH_RVec3, v3: *const JPH_RVec3, color: JPH_Color, castShadow: JPH_DebugRenderer_CastShadow)>§DrawText3D: Option<unsafe extern "C" fn(userData: *mut c_void, position: *const JPH_RVec3, str_: *const c_char, color: JPH_Color, height: f32)>Trait Implementations§
Source§impl Clone for JPH_DebugRenderer_Procs
impl Clone for JPH_DebugRenderer_Procs
impl Copy for JPH_DebugRenderer_Procs
Auto Trait Implementations§
impl Freeze for JPH_DebugRenderer_Procs
impl RefUnwindSafe for JPH_DebugRenderer_Procs
impl Send for JPH_DebugRenderer_Procs
impl Sync for JPH_DebugRenderer_Procs
impl Unpin for JPH_DebugRenderer_Procs
impl UnsafeUnpin for JPH_DebugRenderer_Procs
impl UnwindSafe for JPH_DebugRenderer_Procs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more