Function bgfx::init
[−]
[src]
pub fn init(renderer: RendererType, vendor_id: Option<u16>, device_id: Option<u16>) -> Result<Bgfx, BgfxError>
Initializes bgfx.
This must be called on the main thread after setting the platform data. See PlatformData
.