#include <GtePVWUpdater.h>
Public Member Functions | |
| std::shared_ptr< Camera > const & | GetCamera () const |
| BufferUpdater const & | GetUpdater () const |
| PVWUpdater () | |
| PVWUpdater (std::shared_ptr< Camera > const &camera, BufferUpdater const &updater) | |
| void | Set (std::shared_ptr< Camera > const &camera, BufferUpdater const &updater) |
| void | SetUpdater (BufferUpdater const &updater) |
| bool | Subscribe (Matrix4x4< float > const &worldMatrix, std::shared_ptr< ConstantBuffer > const &cbuffer, std::string const &pvwMatrixName="pvwMatrix") |
| bool | Unsubscribe (Matrix4x4< float > const &worldMatrix) |
| void | UnsubscribeAll () |
| void | Update () |
| virtual | ~PVWUpdater () |
Protected Types | |
| typedef Matrix4x4< float > const * | PVWKey |
| typedef std::pair< std::shared_ptr< ConstantBuffer >, std::string > | PVWValue |
Protected Attributes | |
| std::shared_ptr< Camera > | mCamera |
| std::map< PVWKey, PVWValue > | mSubscribers |
| BufferUpdater | mUpdater |
Definition at line 17 of file GtePVWUpdater.h.
|
protected |
Definition at line 60 of file GtePVWUpdater.h.
|
protected |
Definition at line 61 of file GtePVWUpdater.h.
|
virtual |
Definition at line 12 of file GtePVWUpdater.cpp.
| PVWUpdater::PVWUpdater | ( | ) |
Definition at line 16 of file GtePVWUpdater.cpp.
| PVWUpdater::PVWUpdater | ( | std::shared_ptr< Camera > const & | camera, |
| BufferUpdater const & | updater | ||
| ) |
Definition at line 21 of file GtePVWUpdater.cpp.
|
inline |
Definition at line 66 of file GtePVWUpdater.h.
|
inline |
Definition at line 76 of file GtePVWUpdater.h.
| void PVWUpdater::Set | ( | std::shared_ptr< Camera > const & | camera, |
| BufferUpdater const & | updater | ||
| ) |
Definition at line 26 of file GtePVWUpdater.cpp.
|
inline |
Definition at line 71 of file GtePVWUpdater.h.
| bool PVWUpdater::Subscribe | ( | Matrix4x4< float > const & | worldMatrix, |
| std::shared_ptr< ConstantBuffer > const & | cbuffer, | ||
| std::string const & | pvwMatrixName = "pvwMatrix" |
||
| ) |
Definition at line 32 of file GtePVWUpdater.cpp.
| bool PVWUpdater::Unsubscribe | ( | Matrix4x4< float > const & | worldMatrix | ) |
Definition at line 48 of file GtePVWUpdater.cpp.
| void PVWUpdater::UnsubscribeAll | ( | ) |
Definition at line 53 of file GtePVWUpdater.cpp.
| void PVWUpdater::Update | ( | ) |
Definition at line 58 of file GtePVWUpdater.cpp.
|
protected |
Definition at line 57 of file GtePVWUpdater.h.
Definition at line 62 of file GtePVWUpdater.h.
|
protected |
Definition at line 58 of file GtePVWUpdater.h.