#[repr(C)]pub struct IUnityGraphics {
pub GetRenderer: Option<unsafe extern "system" fn() -> UnityGfxRenderer>,
pub RegisterDeviceEventCallback: Option<unsafe extern "system" fn(callback: IUnityGraphicsDeviceEventCallback)>,
pub UnregisterDeviceEventCallback: Option<unsafe extern "system" fn(callback: IUnityGraphicsDeviceEventCallback)>,
pub ReserveEventIDRange: Option<unsafe extern "system" fn(count: c_int) -> c_int>,
}
Fields§
§GetRenderer: Option<unsafe extern "system" fn() -> UnityGfxRenderer>
§RegisterDeviceEventCallback: Option<unsafe extern "system" fn(callback: IUnityGraphicsDeviceEventCallback)>
§UnregisterDeviceEventCallback: Option<unsafe extern "system" fn(callback: IUnityGraphicsDeviceEventCallback)>
§ReserveEventIDRange: Option<unsafe extern "system" fn(count: c_int) -> c_int>
Trait Implementations§
Source§impl Clone for IUnityGraphics
impl Clone for IUnityGraphics
Source§fn clone(&self) -> IUnityGraphics
fn clone(&self) -> IUnityGraphics
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for IUnityGraphics
impl Default for IUnityGraphics
Source§fn default() -> IUnityGraphics
fn default() -> IUnityGraphics
Returns the “default value” for a type. Read more
impl Copy for IUnityGraphics
Auto Trait Implementations§
impl Freeze for IUnityGraphics
impl RefUnwindSafe for IUnityGraphics
impl Send for IUnityGraphics
impl Sync for IUnityGraphics
impl Unpin for IUnityGraphics
impl UnwindSafe for IUnityGraphics
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