vsg
1.1.0
VulkanSceneGraph library
|
MatrixStack used internally by vsg::State to manage stack of projection or modelview matrices. More...
#include <State.h>
Public Types | |
using | value_type = double |
Public Member Functions | |
MatrixStack (uint32_t in_offset=0) | |
void | set (const mat4 &matrix) |
void | set (const dmat4 &matrix) |
void | push (const mat4 &matrix) |
void | push (const dmat4 &matrix) |
void | push (const Transform &transform) |
void | push (const MatrixTransform &transform) |
const dmat4 & | top () const |
void | pop () |
void | record (CommandBuffer &commandBuffer) |
Public Attributes | |
std::stack< dmat4 > | matrixStack |
uint32_t | offset = 0 |
bool | dirty = false |
MatrixStack used internally by vsg::State to manage stack of projection or modelview matrices.