GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Data Fields
radix::RenderContext Struct Reference

#include <external/RadixEngine/include/radix/renderer/RenderContext.hpp>

Public Types

using ViewFrameInfo = std::pair< const Mesh &, const Transform & >
 

Public Member Functions

 RenderContext (Renderer &r)
 
Matrix4fgetProj ()
 
const Matrix4fgetProj () const
 
void pushProj (const Matrix4f &m)
 
void popProj ()
 
Matrix4fgetView ()
 
const Matrix4fgetView () const
 
Matrix4fgetInvView ()
 
const Matrix4fgetInvView () const
 
void pushView (const Matrix4f &m)
 
void popView ()
 
void pushCamera (const Camera &c)
 
void popCamera ()
 
const ViewFrameInfo getViewFrame () const
 
void pushViewFrame (const ViewFrameInfo &frame)
 
void popViewFrame ()
 

Data Fields

Rendererrenderer
 
std::vector< Matrix4fprojStack
 
bool projDirty
 
std::vector< Matrix4fviewStack
 
std::vector< Matrix4finvViewStack
 
bool viewDirty
 
size_t viewStackMaxDepth
 
std::vector< ViewFrameInfoviewFramesStack
 

Member Typedef Documentation

using radix::RenderContext::ViewFrameInfo = std::pair<const Mesh&, const Transform&>

Constructor & Destructor Documentation

radix::RenderContext::RenderContext ( Renderer r)
inline

Member Function Documentation

Matrix4f& radix::RenderContext::getInvView ( )
inline
const Matrix4f& radix::RenderContext::getInvView ( ) const
inline
Matrix4f& radix::RenderContext::getProj ( )
inline
const Matrix4f& radix::RenderContext::getProj ( ) const
inline
Matrix4f& radix::RenderContext::getView ( )
inline
const Matrix4f& radix::RenderContext::getView ( ) const
inline
const ViewFrameInfo radix::RenderContext::getViewFrame ( ) const
inline
void radix::RenderContext::popCamera ( )
inline
void radix::RenderContext::popProj ( )
inline
void radix::RenderContext::popView ( )
inline
void radix::RenderContext::popViewFrame ( )
inline
void radix::RenderContext::pushCamera ( const Camera c)
inline
void radix::RenderContext::pushProj ( const Matrix4f m)
inline
void radix::RenderContext::pushView ( const Matrix4f m)
inline
void radix::RenderContext::pushViewFrame ( const ViewFrameInfo frame)
inline

Field Documentation

std::vector<Matrix4f> radix::RenderContext::invViewStack
bool radix::RenderContext::projDirty
std::vector<Matrix4f> radix::RenderContext::projStack
Renderer& radix::RenderContext::renderer
bool radix::RenderContext::viewDirty
std::vector<ViewFrameInfo> radix::RenderContext::viewFramesStack
std::vector<Matrix4f> radix::RenderContext::viewStack
size_t radix::RenderContext::viewStackMaxDepth

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