Nebula
|
#include <visibilitysystem.h>
Inherited by Visibility::BoxSystem, Visibility::BruteforceSystem, Visibility::OctreeSystem, Visibility::PortalSystem, and Visibility::QuadtreeSystem.
Classes | |
struct | Entity |
struct | Observer |
Public Member Functions | |
VisibilitySystem () | |
Constructor. | |
virtual void | PrepareObservers (const Math::mat4 *transforms, bool *orthoFlags, Util::Array< Math::ClipStatus::Type > *results, const SizeT count) |
setup observers | |
virtual void | PrepareEntities (const Math::bbox *transforms, const uint32 *ranges, const Graphics::GraphicsEntityId *entities, const uint32_t *entityFlags, const SizeT count) |
prepare system with entities to insert into the structure | |
virtual void | Run (const Threading::AtomicCounter *previousSystemCompletionCounters, const Util::FixedArray< const Threading::AtomicCounter *, true > &extraCounters) |
run system | |
const Threading::AtomicCounter | GetCompletionCounter (IndexT i) const |
Return completion counter for an observer. | |
const Threading::AtomicCounter * | GetCompletionCounters () const |
Return completion counter for all observers. | |
Protected Attributes | |
Math::vec3 | center |
Math::bbox | boundingbox |
struct Visibility::VisibilitySystem::Observer | obs |
struct Visibility::VisibilitySystem::Entity | ent |
Visibility::VisibilitySystem::VisibilitySystem | ( | ) |
Constructor.
const Threading::AtomicCounter Visibility::VisibilitySystem::GetCompletionCounter | ( | IndexT | i | ) | const |
Return completion counter for an observer.
const Threading::AtomicCounter * Visibility::VisibilitySystem::GetCompletionCounters | ( | ) | const |
Return completion counter for all observers.
|
virtual |
prepare system with entities to insert into the structure
|
virtual |
setup observers
|
virtual |
run system
Reimplemented in Visibility::BruteforceSystem.
|
protected |
|
protected |
|
protected |
|
protected |