mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
add 'modelviewer' ui element
This commit is contained in:
parent
761afe51a5
commit
7a25560bc0
7 changed files with 261 additions and 11 deletions
|
|
@ -10,6 +10,7 @@
|
|||
class GLSLExtension;
|
||||
|
||||
class Shader {
|
||||
static Shader* used;
|
||||
uint id;
|
||||
std::unordered_map<std::string, uint> uniformLocations;
|
||||
|
||||
|
|
@ -43,4 +44,6 @@ public:
|
|||
const std::string& vertexSource,
|
||||
const std::string& fragmentSource
|
||||
);
|
||||
|
||||
static Shader& getUsed();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue