Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 3.62 KB

docEN.md

File metadata and controls

61 lines (43 loc) · 3.62 KB

DSGL

Damn Simple OpenGL

  1. About
  2. Installation and compilation
  3. API
    1. Core
      1. DSGL_TRACE
      2. PrintNicelyWorkGroupsCapabilities
      3. Exception
      4. Context
      5. VertexBufferObject
      6. VertexArrayObject
      7. Elements
      8. Shader
      9. ShaderProgram
      10. PipelineProgram
      11. ComputeProgram
    2. Meshes
      1. Triangle
      2. Quad
  4. Examples
  5. FAQ
    1. How do I use my extensions loader

About

DSGL is a tiny and simple modern OpenGL wrapper libraries written in C++ and intented to do not hide OpenGL but simply make the programmer's life easier by providing some general purpose classes.

Careful by the way, DSGL is highly experimental and for instance documentation isn't complete. Feedback and bug reports will be appreciated!

DSGL is a free software under GNU/GPLv3 license.

Installation and compilation

DSGL support some nice libraries you may want to use by passing to compiler some option depending of what you want.

  • glfw : compile with -D DSGL_GLFW.
  • gl3w : compile with -D DSGL_GL3W.

Include dsgl.hpp and dsgl.cpp from Core in your project for general purposes features.

Depending of your needs one may want to also includes all sources files from

API

  • Core contains main DSGL features, each of them are defined within DSGL namespace.
  • Meshes hold some simples meshes for debugging, testing. Also useful for basic needs. Everything there is defined within DSGL::Meshes namespace.

FAQ

How do I use my extensions loader

You must include by yourself your alternative library headers IN dsgl.hpp and every dsgl headers you want to include in your project.