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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§