vsg 1.1.10
VulkanSceneGraph library
Loading...
Searching...
No Matches
vsg::MatrixStack Class Reference

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 dmat4top () const
void pop ()
void record (CommandBuffer &commandBuffer)

Public Attributes

std::stack< dmat4matrixStack
uint32_t offset = 0
bool dirty = false

Detailed Description

MatrixStack used internally by vsg::State to manage stack of projection or modelview matrices.


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