5 #include "../Maths/Vec3.h" 6 #include "../Maths/Vec2.h" 71 void bindTextures(std::string meshID, std::string shaderID);
void unbindVAO()
Unbond a vertex array object.
Definition: OpenGLRendering.cpp:36
void activateVec2Uniform(std::string shaderID, std::string uniformID, Vec2 vec)
Activate a Vec 2 uniform.
Definition: OpenGLRendering.cpp:30
Contains the Vec2 structure with functions and overloaded operators.
Definition: Vec2.h:8
void bindTextures(std::string meshID, std::string shaderID)
A function to bind textures.
Definition: OpenGLRendering.cpp:46
void drawWithLines(std::string meshID)
A function to draw a mesh with lines.
Definition: OpenGLRendering.cpp:65
void disableShaderProgram()
Disable a shader program.
Definition: OpenGLRendering.cpp:41
void drawWithVerticies(std::string meshID)
A function to draw a mesh with verticies.
Definition: OpenGLRendering.cpp:53
void activateVec3Uniform(std::string shaderID, std::string uniformID, Vec3 vec)
Activate a Vec 3 uniform.
Definition: OpenGLRendering.cpp:25
Contains the Vec3 structure with functions and overloaded operators.
Definition: Vec3.h:8
void generateVertexArrays(GLsizei numOfArrays, GLuint *VAO)
A function to generate vertex arrays.
Definition: OpenGLRendering.cpp:5
void activateMeshVAO(std::string meshID)
A function to activate a mesh vertex array object.
Definition: OpenGLRendering.cpp:15
void activateMat4Uniform(std::string shaderID, std::string uniformID, float *matPointer)
Activate a matrix 4 uniform.
Definition: OpenGLRendering.cpp:20
void drawWithPoints(std::string meshID)
A function to draw a mesh with points.
Definition: OpenGLRendering.cpp:59
void activateShaderProgram(std::string shaderID)
A function to activate a shader program.
Definition: OpenGLRendering.cpp:10
A namespace for handeling the openGLFunctions.
Definition: OpenGLRendering.h:11
void drawWithIndices(std::string meshID)
A function to draw a mesh with indicies.
Definition: OpenGLRendering.cpp:71
void bindVertexArray(GLuint VAO)
A function to bind a vertex array.
Definition: OpenGLRendering.cpp:76