VoxelEngine
 
Loading...
Searching...
No Matches
engine::RenderContext Struct Reference

Public Member Functions

void setModelMatrix (const glm::vec3 &position)
 
void setModelMatrix (const glm::vec3 &position, float angle, const glm::vec3 &axis)
 

Public Attributes

gl::IBuffer * attributes
 
const Materialmaterial
 
const Cameracamera = nullptr
 
const gl::FBO * fbo = nullptr
 
RenderPass::ID passMask = RenderPass::Scene
 
struct { 
 
   std::optional< glm::mat4 >   projection 
 
   std::optional< glm::mat4 >   view 
 
   glm::mat4   model 
 
matrices 
 

The documentation for this struct was generated from the following file: