Skip to content

MiniTK - Easy to use OpenGL/AL bindings ported from OpenTK. Designed for use with SDL2#

License

Notifications You must be signed in to change notification settings

dan200/MiniTK

This branch is 11 commits ahead of, 166 commits behind flibitijibibo/SDL2-CS:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4310387 · Jan 16, 2017
Jan 11, 2017
May 31, 2014
Jan 11, 2017
Jan 12, 2017
Jan 16, 2017
Jan 11, 2017
Jan 16, 2017
Jan 11, 2017
Apr 22, 2015

Repository files navigation

This is MiniTK, an easy to use set of OpenGL and OpenAL bindings for C#, based on OpenTK. It is designed for use with (and was originally part of) SDL2#, a C# wrapper for SDL2, but does not depend on that project. See https://github.com/flibitijibibo/SDL2-CS for more information.

License
-------
MiniTK is released under the zlib license. See LICENSE for details.

MiniTK uses code from of OpenTK, which is released under the MIT license.
See opentk.LICENSE for details.

Using MiniTK
------------
To use the OpenGL/OpenAL bindings, simply use them as you were with OpenTK,
but after calling SDL_GL_CreateContext, add the following lines:

OpenTK.Graphics.GraphicsContext.CurrentContext = yourContextIntPtr;
GL.LoadAll( SDL.SDL_GL_GetProcAddress );

This will load the OpenTK entry points.

About

MiniTK - Easy to use OpenGL/AL bindings ported from OpenTK. Designed for use with SDL2#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%