#include <EnvironmentProbeComponent.h>
|
| EnvironmentProbeComponent (SceneGraphNode *sgn, PlatformContext &context) |
|
| ~EnvironmentProbeComponent () override |
|
bool | refresh (GFX::CommandBuffer &bufferInOut, GFX::MemoryBarrierCommand &memCmdInOut) |
| Returns true if the probe was updated, false if skipped.
|
|
bool | checkCollisionAndQueueUpdate (const BoundingSphere &sphere) noexcept |
| Checks if the given bounding sphere has collided with the probe's AABB and if so, mark it for update if required.
|
|
void | updateType (UpdateType type) |
|
void | setBounds (const vec3< F32 > &min, const vec3< F32 > &max) noexcept |
|
void | setBounds (const vec3< F32 > ¢er, F32 radius) noexcept |
|
void | loadFromXML (const boost::property_tree::ptree &pt) override |
|
F32 | distanceSqTo (const vec3< F32 > &pos) const noexcept |
|
void | queueRefresh () noexcept |
|
bool | enabled () const override |
|
void | enabled (bool state) override |
|
| PROPERTY_R_IW (U16, rtLayerIndex, 0u) |
|
| PROPERTY_RW (bool, showParallaxAABB, false) |
|
| PROPERTY_RW (bool, dirty, true) |
|
| PROPERTY_RW (U8, updateRate, 1u) |
|
| PROPERTY_R (UpdateType, updateType, UpdateType::ON_DIRTY) |
|
| PROPERTY_R (U16, poolIndex, 0u) |
|
const BoundingBox & | getBounds () const noexcept |
|
| GUIDWrapper () noexcept |
|
| GUIDWrapper (const GUIDWrapper &old) noexcept |
|
| GUIDWrapper (GUIDWrapper &&old) noexcept |
|
virtual | ~GUIDWrapper ()=default |
|
FORCE_INLINE I64 | getGUID () const noexcept |
|
GUIDWrapper & | operator= (const GUIDWrapper &old)=delete |
|
GUIDWrapper & | operator= (GUIDWrapper &&other)=delete |
|
Definition at line 54 of file EnvironmentProbeComponent.h.
◆ Parent
◆ ProbeType
◆ UpdateType
◆ EnvironmentProbeComponent()
◆ ~EnvironmentProbeComponent()
Divide::EnvironmentProbeComponent::~EnvironmentProbeComponent |
( |
| ) |
|
|
override |
◆ checkCollisionAndQueueUpdate()
bool Divide::EnvironmentProbeComponent::checkCollisionAndQueueUpdate |
( |
const BoundingSphere & |
sphere | ) |
|
|
noexcept |
Checks if the given bounding sphere has collided with the probe's AABB and if so, mark it for update if required.
Definition at line 160 of file EnvironmentProbeComponent.cpp.
◆ distanceSqTo()
F32 Divide::EnvironmentProbeComponent::distanceSqTo |
( |
const vec3< F32 > & |
pos | ) |
const |
|
noexcept |
◆ enabled() [1/2]
bool Divide::EnvironmentProbeComponent::enabled |
( |
| ) |
const |
|
override |
◆ enabled() [2/2]
void Divide::EnvironmentProbeComponent::enabled |
( |
bool |
state | ) |
|
|
override |
◆ findNodeToIgnore()
SceneGraphNode * Divide::EnvironmentProbeComponent::findNodeToIgnore |
( |
| ) |
const |
|
protectednoexcept |
◆ getBounds()
const BoundingBox & Divide::EnvironmentProbeComponent::getBounds |
( |
| ) |
const |
|
inlinenoexcept |
◆ loadFromXML()
void Divide::EnvironmentProbeComponent::loadFromXML |
( |
const boost::property_tree::ptree & |
pt | ) |
|
|
override |
◆ OnData()
◆ poolIndex()
void Divide::EnvironmentProbeComponent::poolIndex |
( |
U16 |
index | ) |
|
|
protectednoexcept |
◆ PROPERTY_R() [1/2]
Divide::EnvironmentProbeComponent::PROPERTY_R |
( |
U16 |
, |
|
|
poolIndex |
, |
|
|
0u |
|
|
) |
| |
◆ PROPERTY_R() [2/2]
◆ PROPERTY_R_IW()
Divide::EnvironmentProbeComponent::PROPERTY_R_IW |
( |
U16 |
, |
|
|
rtLayerIndex |
, |
|
|
0u |
|
|
) |
| |
◆ PROPERTY_RW() [1/3]
Divide::EnvironmentProbeComponent::PROPERTY_RW |
( |
bool |
, |
|
|
dirty |
, |
|
|
true |
|
|
) |
| |
◆ PROPERTY_RW() [2/3]
Divide::EnvironmentProbeComponent::PROPERTY_RW |
( |
bool |
, |
|
|
showParallaxAABB |
, |
|
|
false |
|
|
) |
| |
◆ PROPERTY_RW() [3/3]
Divide::EnvironmentProbeComponent::PROPERTY_RW |
( |
U8 |
, |
|
|
updateRate |
, |
|
|
1u |
|
|
) |
| |
◆ queueRefresh()
void Divide::EnvironmentProbeComponent::queueRefresh |
( |
| ) |
|
|
inlinenoexcept |
◆ refresh()
◆ setBounds() [1/2]
void Divide::EnvironmentProbeComponent::setBounds |
( |
const vec3< F32 > & |
center, |
|
|
F32 |
radius |
|
) |
| |
|
noexcept |
◆ setBounds() [2/2]
void Divide::EnvironmentProbeComponent::setBounds |
( |
const vec3< F32 > & |
min, |
|
|
const vec3< F32 > & |
max |
|
) |
| |
|
noexcept |
◆ updateProbeData()
void Divide::EnvironmentProbeComponent::updateProbeData |
( |
| ) |
const |
|
protectednoexcept |
◆ updateType()
void Divide::EnvironmentProbeComponent::updateType |
( |
UpdateType |
type | ) |
|
◆ EnvironmentProbeSystem
◆ SceneEnvironmentProbePool
◆ _aabb
◆ _currentUpdateCall
U8 Divide::EnvironmentProbeComponent::_currentUpdateCall = 0u |
|
protected |
◆ _drawImpostor
bool Divide::EnvironmentProbeComponent::_drawImpostor = false |
|
private |
◆ _probeType
◆ _queueRefresh
bool Divide::EnvironmentProbeComponent::_queueRefresh = true |
|
private |
◆ _refaabb
The documentation for this class was generated from the following files: