#include <ShaderComponent.hpp>
|
| void | onStart () override |
| | The entity or this component has just been enabled. More...
|
| |
| | ShaderComponentModel (WAL::Entity &entity, const std::string &fragmentFilePath, const std::string &vertexFilePath="", const WAL::Callback< WAL::Entity &, WAL::Wal &, std::chrono::nanoseconds > &onFixedUpdate=WAL::Callback< WAL::Entity &, WAL::Wal &, std::chrono::nanoseconds >(), bool lonely=false) |
| | ctor More...
|
| |
| | ShaderComponentModel (const ShaderComponentModel &)=default |
| | Default copy ctor. More...
|
| |
| | ~ShaderComponentModel () override=default |
| | Default dtor. More...
|
| |
| ShaderComponentModel & | operator= (const ShaderComponentModel &)=delete |
| | Default assignment operator. More...
|
| |
| RAY::Shader & | getShader () |
| | getter for _shader More...
|
| |
| WAL::Component * | clone (WAL::Entity &entity) const override |
| | Clone a component for another or the same entity. More...
|
| |
| std::string | getFragmentFilePath () const |
| | get the fragment file path More...
|
| |
| std::string | getVertexFilePath () const |
| | get the fragment file path More...
|
| |
| | ShaderComponent (WAL::Entity &entity, const std::string &fragmentFilePath, const std::string &vertexFilePath="", const WAL::Callback< WAL::Entity &, WAL::Wal &, std::chrono::nanoseconds > &onFixedUpdate=WAL::Callback< WAL::Entity &, WAL::Wal &, std::chrono::nanoseconds >(), bool lonely=false) |
| | ctor More...
|
| |
| | ShaderComponent (const ShaderComponent &)=default |
| | Default copy ctor. More...
|
| |
| | ~ShaderComponent () override=default |
| | Default dtor. More...
|
| |
| ShaderComponent & | operator= (const ShaderComponent &)=delete |
| | Default assignment operator. More...
|
| |
| Component & | operator= (const Component &)=delete |
| | A component can't be assigned. More...
|
| |
| virtual | ~Component ()=default |
| | A virtual destructor. More...
|
| |
| virtual void | onStop () |
| | The entity or this component has just been disable. More...
|
| |
◆ ShaderComponentModel() [1/2]
ctor
- Note
- use empty string to omit a file
◆ ShaderComponentModel() [2/2]
◆ ~ShaderComponentModel()
| BBM::ShaderComponentModel::~ShaderComponentModel |
( |
| ) |
|
|
overridedefault |
◆ onStart()
| void BBM::ShaderComponentModel::onStart |
( |
| ) |
|
|
overridevirtual |
The entity or this component has just been enabled.
Reimplemented from WAL::Component.
◆ operator=()
Default assignment operator.
◆ model
The documentation for this class was generated from the following files: