|
OpenGothic
Open source reimplementation of Gothic I and II
|
#include <pfxobjects.h>
Public Member Functions | |
| PfxObjects (WorldView &world, const SceneGlobals &scene, VisualObjects &visual) | |
| ~PfxObjects () | |
| void | setViewerPos (const Tempest::Vec3 &pos) |
| void | resetTicks () |
| void | tick (uint64_t ticks) |
| bool | isInPfxRange (const Tempest::Vec3 &pos) const |
| void | preFrameUpdate (uint8_t fId) |
| void | drawGBuffer (Tempest::Encoder< Tempest::CommandBuffer > &cmd, uint8_t fId) |
| void | drawShadow (Tempest::Encoder< Tempest::CommandBuffer > &cmd, uint8_t fId, int layer) |
| void | drawTranslucent (Tempest::Encoder< Tempest::CommandBuffer > &cmd, uint8_t fId) |
Static Public Attributes | |
| static constexpr const float | viewRage = 4000.f |
Friends | |
| class | PfxEmitter |
| class | TrlObjects |
Definition at line 17 of file pfxobjects.h.
| PfxObjects::PfxObjects | ( | WorldView & | world, |
| const SceneGlobals & | scene, | ||
| VisualObjects & | visual | ||
| ) |
Definition at line 13 of file pfxobjects.cpp.
| PfxObjects::~PfxObjects | ( | ) |
Definition at line 17 of file pfxobjects.cpp.
| void PfxObjects::drawGBuffer | ( | Tempest::Encoder< Tempest::CommandBuffer > & | cmd, |
| uint8_t | fId | ||
| ) |
Definition at line 69 of file pfxobjects.cpp.
| void PfxObjects::drawShadow | ( | Tempest::Encoder< Tempest::CommandBuffer > & | cmd, |
| uint8_t | fId, | ||
| int | layer | ||
| ) |
Definition at line 74 of file pfxobjects.cpp.
| void PfxObjects::drawTranslucent | ( | Tempest::Encoder< Tempest::CommandBuffer > & | cmd, |
| uint8_t | fId | ||
| ) |
Definition at line 79 of file pfxobjects.cpp.
| bool PfxObjects::isInPfxRange | ( | const Tempest::Vec3 & | pos | ) | const |
Definition at line 51 of file pfxobjects.cpp.
| void PfxObjects::preFrameUpdate | ( | uint8_t | fId | ) |
Definition at line 56 of file pfxobjects.cpp.
| void PfxObjects::resetTicks | ( | ) |
Definition at line 24 of file pfxobjects.cpp.
| void PfxObjects::setViewerPos | ( | const Tempest::Vec3 & | pos | ) |
Definition at line 20 of file pfxobjects.cpp.
| void PfxObjects::tick | ( | uint64_t | ticks | ) |
Definition at line 28 of file pfxobjects.cpp.
|
friend |
Definition at line 58 of file pfxobjects.h.
|
friend |
Definition at line 59 of file pfxobjects.h.
|
staticconstexpr |
Definition at line 22 of file pfxobjects.h.