globjects  2.0.0.4363356ae2ef
Strict OpenGL objects wrapper.
Loading...
Searching...
No Matches

#include <globjects/include/globjects/StateSetting.h>

Inheritance diagram for globjects::StateSetting:
globjects::Instantiator< StateSetting >

Public Member Functions

template<typename... Arguments>
 StateSetting (void(*function)(Arguments...), Arguments... arguments)
 
virtual ~StateSetting ()
 
void apply ()
 
StateSettingTypetype ()
 
const StateSettingTypetype () const
 

Protected Member Functions

 StateSetting (std::unique_ptr< AbstractFunctionCall > &&functionCall)
 

Protected Attributes

std::unique_ptr< AbstractFunctionCallm_functionCall
 
StateSettingType m_type
 

Additional Inherited Members

- Static Public Member Functions inherited from globjects::Instantiator< StateSetting >
static std::unique_ptr< StateSettingcreate (Args &&... args)
 
static std::unique_ptr< StateSettingfromId (gl::GLuint id, Args &&... args)
 

Constructor & Destructor Documentation

◆ StateSetting() [1/2]

template<typename... Arguments>
globjects::StateSetting::StateSetting ( void(*)(Arguments...)  function,
Arguments...  arguments 
)

◆ ~StateSetting()

virtual globjects::StateSetting::~StateSetting ( )
virtual

◆ StateSetting() [2/2]

globjects::StateSetting::StateSetting ( std::unique_ptr< AbstractFunctionCall > &&  functionCall)
protected

Member Function Documentation

◆ apply()

void globjects::StateSetting::apply ( )

◆ type() [1/2]

StateSettingType & globjects::StateSetting::type ( )

◆ type() [2/2]

const StateSettingType & globjects::StateSetting::type ( ) const

Member Data Documentation

◆ m_functionCall

std::unique_ptr<AbstractFunctionCall> globjects::StateSetting::m_functionCall
protected

◆ m_type

StateSettingType globjects::StateSetting::m_type
protected

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