Voltray Engine Docs
Loading...
Searching...
No Matches
Renderer.h
Go to the documentation of this file.
1#pragma once
2
3#include "Shader.h"
4#include "Mesh.h"
5#include "../Math/Mat4.h"
6
19{
20public:
21 void Draw(const Mesh &mesh, const Shader &shader) const;
22
29 void Draw(const Mesh &mesh, const Shader &shader, const Mat4 &modelMatrix) const;
30};
Represents a 3D mesh composed of vertices and indices.
Definition Mesh.h:17
Responsible for rendering mesh objects using specified shaders.
Definition Renderer.h:19
void Draw(const Mesh &mesh, const Shader &shader) const
Definition Renderer.cpp:3
Encapsulates an OpenGL shader program, handling compilation, linking, and usage.
Definition Shader.h:14
4x4 Matrix structure for 3D transformations and projections.
Definition Mat4.h:16