mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 16:59:17 +02:00
22 lines
403 B
C++
22 lines
403 B
C++
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
class gl_shader
|
|
{
|
|
public:
|
|
GLuint id;
|
|
|
|
gl_shader();
|
|
gl_shader(std::string);
|
|
};
|
|
|
|
class gl_program
|
|
{
|
|
GLuint id;
|
|
public:
|
|
gl_program() = default;
|
|
gl_program(std::vector<gl_shader>);
|
|
|
|
void use();
|
|
}; |