Skip to content

nullcatalyst/cpp-graphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpp-graphics

This started as a C++ wrapper around Apple's Metal API, but then I wanted to expand it to also use OpenGL as a backend to compile the same application on other platforms with (preferably) no code changes.

NOTE: The OpenGL backend is not complete.

Examples

I've included some examples to show usage. The hello_metal example must use the Xcode generator in order to compile the metal shaders. The hello_macgl example uses a NSOpenGLView for rendering, as glfw3 does not seem to create a view capable of rendering OpenGL on macOS mojave.

About

Simple C++ wrapper around standard graphics APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published