vsg  1.1.0
VulkanSceneGraph library
Public Types | Public Member Functions | Public Attributes | List of all members
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::stack< ref_ptr< const T > >
 

Public Member Functions

template<class R >
void push (ref_ptr< R > value)
 
template<class R >
void push (R *value)
 
void pop ()
 
size_t size () const
 
const T * top () const
 
void record (CommandBuffer &commandBuffer)
 

Public Attributes

Stack stack
 
bool dirty
 

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: