Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 911 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 911 Bytes

DerelictBgfx

A dynamic binding to bgfx for the D Programming Language.

Warning: these bindings do not come with bgfx binaries.

Note: this DerelictBgfx binding commit is in sync with bgfx Apr 10, 2016 commit titled "Cleanup."

More information on how to build bgfx is available here: https://github.com/bkaradzic/bgfx/

Please see the pages Building and Linking Derelict and Using Derelict, or information on how to build DerelictBgfx and load the bgfx library at run time. In the meantime, here's some sample code.

import derelict.bgfx.bgfx;

void main() {
    // Load the bgfx library.
    DerelictBgfx.load();

    // Now bgfx functions can be called.
    ...
}