forked from flibitijibibo/SDL2-CS
-
Notifications
You must be signed in to change notification settings - Fork 1
MiniTK - Easy to use OpenGL/AL bindings ported from OpenTK. Designed for use with SDL2#
License
dan200/MiniTK
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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 0
No packages published
Languages
- C# 100.0%