add initial README
This commit is contained in:
parent
e2e981fcc1
commit
fe8fec2b80
21
README.md
Normal file
21
README.md
Normal file
@ -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).
|
Loading…
x
Reference in New Issue
Block a user