Experiment in graphics programming, C++, OpenGL, simulation techniques.
{#} | Time | Hash | Subject | Author | # | (+) | (-) | GPG? |
---|---|---|---|---|---|---|---|---|
7 | 03 Sep 2023 16:01 | 5f524c5 | OpenGL render abstractions | Josh Stockin | 1 | 23 | 0 | G |
1 | #ifndef GL_RENDER_OBJECT_RAINBOW_TRIANGLE_HPP_ |
2 | #define GL_RENDER_OBJECT_RAINBOW_TRIANGLE_HPP_ |
3 | |
4 | |
5 | #include "GLRenderObject.hpp" |
6 | |
7 | |
8 | class GLRenderObjectRainbowTriangle : public GLRenderObject |
9 | { |
10 | public: |
11 | GLRenderObjectRainbowTriangle(); |
12 | ~GLRenderObjectRainbowTriangle() = default; |
13 | |
14 | private: |
15 | void Render() override; |
16 | void Generate(); |
17 | |
18 | bool m_geometryGenerated = false; |
19 | uint32_t m_VAO = 0; |
20 | }; |
21 | |
22 | |
23 | #endif /* GL_RENDER_OBJECT_RAINBOW_TRIANGLE_HPP_ */ |
24 |