From fe8fec2b8015f6d980474640f257357389fe9cb0 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 15 Jun 2015 23:39:50 -0400 Subject: [PATCH] add initial README --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..d41c17d --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# glcxx + +glcxx is a Modern C++ Interface to OpenGL Object Management. + +## Features + +### C++11 + +glcxx uses C++11 features such as initializer_list and variadic templates to +provide a user-friendly API. +For example, an OpenGL buffer can be allocated and filled with data with a +a single call: + +``` +auto buffer = glcxx::Buffer::create(GL_ARRAY_BUFFER, GL_STATIC_DRAW, + {-1, -1, 1, -1, 1, 1, -1, 1}); +``` + +## License + +glcxx is licensed under the [MIT License](LICENSE).