Index

zydeco / fractal

Experiment in graphics programming, C++, OpenGL, simulation techniques.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
703 Sep 2023 16:015f524c5OpenGL render abstractionsJosh Stockin1230G

Blob @ zydeco / include / render / objects / GLRenderObjectRainbowTriangle.hpp

text/plain462 bytesdownload raw
1#ifndef GL_RENDER_OBJECT_RAINBOW_TRIANGLE_HPP_
2#define GL_RENDER_OBJECT_RAINBOW_TRIANGLE_HPP_
3
4
5#include "GLRenderObject.hpp"
6
7
8class GLRenderObjectRainbowTriangle : public GLRenderObject
9{
10public:
11 GLRenderObjectRainbowTriangle();
12 ~GLRenderObjectRainbowTriangle() = default;
13
14private:
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