vsg: vsg::StateStack< T > Class Template Reference

vsg 1.1.13 VulkanSceneGraph library

Loading...
Searching...
No Matches
vsg::StateStack< T > Class Template Reference

StateStack used internally by vsg::State to manage stack of vsg::StateCommand. More...

`#include <State.h>`

## Public Types
using | Stack = std::array<const T*, STATESTACK_SIZE>

## Public Member Functions
| StateStack (const StateStack &rhs)=default
StateStack & | operator= (const StateStack &rhs)
void | reset ()
void | dirty ()
void | push (const T *value)
void | pop ()
bool | empty () const
size_t | size () const
const T * | top () const
void | record (CommandBuffer &commandBuffer)

## Public Attributes
Stack | stack
size_t | pos = 0

## Detailed Description

template<class T>
class vsg::StateStack< T >

StateStack used internally by vsg::State to manage stack of vsg::StateCommand.

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

- include/vsg/vk/State.h