Skip to main content

UnityGraphicsInterface

Trait UnityGraphicsInterface 

Source
pub trait UnityGraphicsInterface {
    // Required methods
    fn renderer(&self) -> GfxRenderer;
    fn register_device_event_callback(
        &self,
        callback: Option<GraphicsDeviceEventCallback>,
    );
    fn unregister_device_event_callback(
        &self,
        callback: Option<GraphicsDeviceEventCallback>,
    );
    fn reserve_event_id_range(&self, count: c_int) -> c_int;
}

Required Methods§

Implementors§