|
Thrive
|
Spawns compound particles for CompoundEmitterComponent. More...
#include <membrane_system.h>
Classes | |
| struct | Implementation |
Public Member Functions | |
| MembraneSystem () | |
| Constructor. | |
| ~MembraneSystem () | |
| Destructor. | |
| void | init (GameState *gameState) override |
| Initializes the system. More... | |
| void | shutdown () override |
| Shuts the system down. | |
| void | update (int, int) override |
| Updates the system. More... | |
Public Member Functions inherited from thrive::System | |
| System () | |
| Constructor. | |
| virtual | ~System ()=0 |
| Destructor. | |
| virtual void | activate () |
| Called by GameState::activate() More... | |
| virtual void | deactivate () |
| Called by GameState::deactivate() More... | |
| bool | enabled () const |
| Whether this system is enabled. More... | |
| Engine * | engine () const |
| The system's engine. More... | |
| EntityManager * | entityManager () const |
| Returns the system's entity manager. More... | |
| GameState * | gameState () const |
| Returns the system's game state. More... | |
| virtual void | initNamed (std::string name, GameState *gameState) |
| Initializes the system and gives it a name. More... | |
| std::string | getName () |
| Returns system name. | |
| void | setEnabled (bool enabled) |
| Sets the enabled status of this system. More... | |
Static Public Member Functions | |
| static luabind::scope | luaBindings () |
| Lua bindings. More... | |
Static Public Member Functions inherited from thrive::System | |
| static luabind::scope | luaBindings () |
| Lua bindings. More... | |
Spawns compound particles for CompoundEmitterComponent.
|
overridevirtual |
|
static |
|
overridevirtual |
Updates the system.
Create declaration (memory format) of vertex data
Allocate vertex buffer of the requested number of vertices (vertexCount) and bytes per vertex (offset)
Upload the vertex data to the card
Set vertex buffer binding so buffer 0 is bound to our vertex buffer
Allocate index buffer of the requested number of vertices (ibufCount)
Upload the index data to the card
Set parameters of the submesh
Set bounding information (for culling)
Notify -Mesh object that it has been loaded
Implements thrive::System.
1.8.10