DerelictSDL2

所属分类:工具库
开发工具:D
文件大小:0KB
下载次数:0
上传日期:2020-07-31 02:24:48
上 传 者sh-1993
说明:  用于D编程语言的SDL2及其附属库的动态绑定。,
(Dynamic bindings to SDL2 and its satellite libraries for the D Programming Language.,)

文件列表:
.travis.yml (100, 2020-07-27)
dub.sdl (676, 2020-07-27)
source/ (0, 2020-07-27)
source/derelict/ (0, 2020-07-27)
source/derelict/sdl2/ (0, 2020-07-27)
source/derelict/sdl2/config.d (2291, 2020-07-27)
source/derelict/sdl2/gpu.d (1583, 2020-07-27)
source/derelict/sdl2/image.d (12483, 2020-07-27)
source/derelict/sdl2/internal/ (0, 2020-07-27)
source/derelict/sdl2/internal/gpu_dynamic.d (31449, 2020-07-27)
source/derelict/sdl2/internal/gpu_dynload.d (20186, 2020-07-27)
source/derelict/sdl2/internal/gpu_static.d (15221, 2020-07-27)
source/derelict/sdl2/internal/gpu_types.d (11948, 2020-07-27)
source/derelict/sdl2/internal/sdl_dynamic.d (58960, 2020-07-27)
source/derelict/sdl2/internal/sdl_dynload.d (46877, 2020-07-27)
source/derelict/sdl2/internal/sdl_static.d (25988, 2020-07-27)
source/derelict/sdl2/internal/sdl_types.d (75312, 2020-07-27)
source/derelict/sdl2/mixer.d (21221, 2020-07-27)
source/derelict/sdl2/net.d (12685, 2020-07-27)
source/derelict/sdl2/sdl.d (2688, 2020-07-27)
source/derelict/sdl2/ttf.d (16950, 2020-07-27)

DerelictSDL2 ============ **NOTE**: DerelictSDL2 is in bugfix-only mode. It has been superseded by [the bindbc-sdl package][9]. DerelictSDL2 will be available through the dub repository for as long as old projects depend upon it, but [new projects should use bindbc-sdl][9]. Dynamic bindings to [SDL 2][1] versions 2.0.0 - 2.0.5, [SDL2_image][2], [SDL2_mixer][3], [SDL2_ttf][4], and [SDL2_net][5] for the D Programming Language. Please see the [DerelictSDL2 documentation][6] and the sections on [Compiling and Linking][7] and [The Derelict Loader][8], in the Derelict documentation, for information on how to build DerelictSDL2 and load the SDL2 libraries at run time. In the meantime, here's some sample code. ```D // This example shows how to import all of the DerelictSDL2 bindings. Of course, // you only need to import the modules that correspond to the libraries you // actually need to load. import derelict.sdl2.sdl; import derelict.sdl2.image; import derelict.sdl2.mixer; import derelict.sdl2.ttf; import derelict.sdl2.net; void main() { // This example shows how to load all of the SDL2 libraries. You only need // to call the load methods for those libraries you actually need to load. // Load the SDL 2 library. DerelictSDL2.load(); // Load the SDL2_image library. DerelictSDL2Image.load(); // Load the SDL2_mixer library. DerelictSDL2Mixer.load(); // Load the SDL2_ttf library DerelictSDL2ttf.load(); // Load the SDL2_net library. DerelictSDL2Net.load(); // Now SDL 2 functions for all of the SDL2 libraries can be called. ... } ``` [1]: http://www.libsdl.org/download-2.0.php [2]: http://www.libsdl.org/projects/SDL_image/ [3]: http://www.libsdl.org/projects/SDL_mixer/ [4]: http://www.libsdl.org/projects/SDL_ttf/ [5]: http://www.libsdl.org/projects/SDL_net/ [6]: http://derelictorg.github.io/packages/sdl2/ [7]: http://derelictorg.github.io/building/overview/ [8]: http://derelictorg.github.io/loading/loader/ [9]: https://github.com/BindBC/bindbc-sdl

近期下载者

相关文件


收藏者