OpenMiner/include/gl/RenderStates.hpp
2018-06-14 23:36:01 +02:00

34 lines
782 B
C++

/*
* =====================================================================================
*
* Filename: RenderStates.hpp
*
* Description:
*
* Created: 14/06/2018 19:52:27
*
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/
#ifndef RENDERSTATES_HPP_
#define RENDERSTATES_HPP_
#include <glm/matrix.hpp>
class Texture;
class Shader;
struct RenderStates {
const glm::mat4 *projectionMatrix = nullptr;
const glm::mat4 *viewMatrix = nullptr;
const glm::mat4 *modelMatrix = nullptr;
const Texture *texture = nullptr;
const Shader *shader = nullptr;
static const RenderStates Default; // Defined in RenderTarget.cpp
};
#endif // RENDERSTATES_HPP_