Features
sdljava provides a clean and simple binding to the SDL API. A binding to OpenGL(via
GLEW) and a binding to
FTGL is also provided. The following API have been bound:
Features
- OpenGL Binding
All OpenGL functions up to version 1.1 are supported. A few methods from GLU are also provided. Note: Support for up to OpenGL 2.0 as well as ALL OpenGL extensions, including all GLU functions, will be provided in future releases.
Supports the "composable pipeline" paradigm introduced by the
Magician Java binding for OpenGL. The DebugGL pipeline calls
glGetError after each OpenGL call, reporting any errors
found. It can greatly speed up development time because of its
fine-grained error checking as opposed to the manual error
checking usually required in OpenGL programs written in C. The
TraceGL prints logging information upon each OpenGL call and
is helpful when an application crash makes it difficult to see
where the error occurred.
- FTGL Binding
Provides a full binding to FTGL allowing applications to render many different types of fonts quickly and easily within their OpenGL applications.
- Full SDL Binding
Supported SDL API
- Core SDL
All functions from the core SDL lib are supported. This includes the SDL main, audio, cdrom, event, joystick, timer and video functions.
- SDL_image
The SDL Image Libary is fully supported. Note however that loading images from java is quite easy and there are many core and support libraries available to load the various image formats.
- SDL_mixer
Full support for the SDL Mixer Library is provided. (Note: callbacks have not yet been implemented)
- SDL_ttf
Full support for SDL TTF is provided.
- SDL_gfx
Drawing primitives are currently well supported within SDL GFX. The filter algorithms still need to be bound.
Unsupported API
The following can be supported by java's native API and therefore are not implemented.