vsg: vsg::MatrixStack Class Reference

vsg 1.1.13 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)
MatrixStack & | operator= (const MatrixStack &rhs)
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

## 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:

- include/vsg/vk/State.h