Giter Club home page Giter Club logo

glsugar's Introduction

GLSugar : Modern OpenGL Helper Library

Intro

This is intended to be a collection of utility code to make programming in MODERN OpenGL easier, more readable, and more efficient. I think of it as my ongoing effort to make a modern GLU for OpenGL 4.5 with AZDO / DSA style programming.

This repository is built using GLHPP (an object oriented / RAII / DSA-oriented modern GL interface) as a base.

Other external depends include GLAD for extension wrangling, and GLFWPP for windowing, which is based on GLFW.

Contents

GL_Containers - STL Style containers built around GPU Buffers

GL_UBO - For declaring UBO structs in client code with correct layouts

GL_VAO - For automatically setting up VAO (Vertex Array Object) state from struct or instance data types, eg:

glSugar::Vao<SpriteInstanceAnim> spriteVAO; // - this is the entirety of the setup code

// at render time:
spriteVAO.bind();
spriteVAO.vertexBufferInstanced(v.buffer); // ready to render now!

GL_Objects - Additional helpers for setting up, initializing and using textures and shaders

Shaders - raw shader source files for common library functions you might need in your shader programs.

Algorithms - client side code for common graphics algorithms you might want.

IMGUI Renderer - rendering header backend for Dear IMGUI library using GLHPP / GLSugar.

Video - Hardware accelerated video playback to texture : currently Win32 / IMF only.

glsugar's People

Contributors

virtuosochris avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.