Releases: LessComplexity/Cross-Platform-GL-Application
Releases · LessComplexity/Cross-Platform-GL-Application
CPGA with shader helper interface
Additions
An interface added to the GLRenderer class that allows you to:
- Create an empy program (
GLRenderer::createProgram
) - Create and add shaders (
GLRenderer::addShader
) - Link a program to make it complete (
GLRenderer::linkProgram
) - Safely use a program at runtime (
GLRenderer::useProgram
)
Programs are saved in the GLRenderer using an unordered_map with string keys representing the program name.
CPGA Hotfix
Changed signed int's to unsigned int's, stupid mistake :)
CPGA For simple GL environment implementation
Review
Contains a download-and-run setup for a cross-platform GLApplication that integrates:
- glm 0.9.9
- glew 2.1.0
- glfw 3.3.2
Also comes with the folder glshift which contains a namespace called GLShift
which is implemented by including the GLShift header. The namespace currently has 2 objects:
- GLManager: Helps you create a window that can render OpenGL applications
- GLRenderer: Provides a simple interface for a renderer that can be given to a GLManager to render your application.
Platforms supported
- Window
- Linux for PC
- Mac (Support will come in next version)