Nymph Game Engine
Chaiscript based Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Graphics::SetUniformEvent Class Reference

Class for set uniform event. More...

#include <set_uniform_event.h>

Inheritance diagram for Graphics::SetUniformEvent:
Events::Event

Public Member Functions

 SetUniformEvent ()=delete
 
 SetUniformEvent (const Uniform &uniform)
 Constructor for setUniformEvent. More...
 
Uniform getUniform () const noexcept
 Gets the uniform. More...
 
- Public Member Functions inherited from Events::Event
 Event (const EventType &type)
 Event constructor. More...
 
EventType getEventType () const
 Gets the event type. More...
 

Static Public Member Functions

static std::shared_ptr
< SetUniformEvent
create (const Uniform &uniform)
 Factory function for SetUniformEvent. More...
 

Detailed Description

Class for set uniform event.

Constructor & Destructor Documentation

Graphics::SetUniformEvent::SetUniformEvent ( )
delete
Graphics::SetUniformEvent::SetUniformEvent ( const Uniform uniform)
inline

Constructor for setUniformEvent.

Parameters
[in]uniformThe uniform

Member Function Documentation

static std::shared_ptr<SetUniformEvent> Graphics::SetUniformEvent::create ( const Uniform uniform)
inlinestatic

Factory function for SetUniformEvent.

Parameters
[in]uniformThe uniform
Returns
A newly constructed SetUniformEvent

Referenced by generated::getSetUniformEventModule(), Graphics::TileAnimator< StateType >::onStart(), and Graphics::TileAnimator< StateType >::onUpdate().

Uniform Graphics::SetUniformEvent::getUniform ( ) const
inlinenoexcept

Gets the uniform.

Returns
The uniform.

Referenced by generated::getSetUniformEventModule().


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