meatbox 0.1.6

Boxed OpenGl rendering, feat. SDL2, FreeType and pain.


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

meatBox

OpenGL /SDL2 container

Not really fit for public consumption, but try ahead if you wish. Designed to encapsulate and ease the fun of simple rendering, without all that mucking about in hyperspace. Aims to be lightweight, and modular.

Usage

meatBox has a handful of different modules, and I'll try to keep updated documentation in the doc folder, and also I should probably host that folder somewhere.

If you want to make something work off the bat, window.d is the home-block of the set. When you inialize a Window, it will reserve a GPU context, create a window, hook it to openGL and create multithreading rendering and updating. You can either create delegates to the window's onRender, onUpdate, ect; or the cleaner way, and create your own class that inherits and overrides the render and jazz. Currently you will need to set up your own matrices, but I'm working on that.

From there, I have some data blocks like Keyboard, Camera, and Mouse which should initialize themselves on their own. Works in progress, including tihs terrible readme!

Authors:
meatRay
Dependencies:
derelict-sdl2, derelict-gl3
Versions:
0.1.6 2015-Apr-25
0.1.5 2015-Apr-25
0.1.4 2015-Apr-14
0.1.3 2015-Mar-05
0.1.2 2015-Jan-31
Show all 8 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 8 downloads this month

  • 238 downloads total