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 | 21 | 0 | G |
1 | #ifndef GLSHADER_HPP_ |
2 | #define GLSHADER_HPP_ |
3 | |
4 | |
5 | #include "ZydecoCommon.hpp" |
6 | |
7 | |
8 | class GLShader |
9 | { |
10 | public: |
11 | GLShader(uint64_t shader_type, const char *shader_source); |
12 | ~GLShader(); |
13 | uint64_t GetGLShaderID(); |
14 | |
15 | private: |
16 | uint64_t m_shaderType; |
17 | uint64_t m_glShaderId; |
18 | }; |
19 | |
20 | |
21 | #endif /* GLSHADER_HPP_ */ |
22 |