Nebula
Loading...
Searching...
No Matches
Visibility::ObservableContext Class Reference

#include <visibilitycontext.h>

Inherits Graphics::GraphicsContext.

Static Public Member Functions

static void Setup (const Graphics::GraphicsEntityId id, VisibilityEntityType entityType)
 setup entity
 
static void Create ()
 create context
 

Private Types

using AtomTransform = Math::mat4
 
using AtomIsActive = bool
 
typedef Ids::IdAllocator< Graphics::GraphicsEntityId, uint32ObservableAllocator
 

Private Member Functions

 __DeclareContext ()
 

Static Private Member Functions

static Graphics::ContextEntityId Alloc ()
 allocate a new slice for this context
 
static void Dealloc (Graphics::ContextEntityId id)
 deallocate a slice
 

Static Private Attributes

static ObservableAllocator observableAllocator
 

Friends

class ObserverContext
 
class Models::ModelContext
 

Additional Inherited Members

- Public Member Functions inherited from Graphics::GraphicsContext
 GraphicsContext ()
 constructor
 
virtual ~GraphicsContext ()
 destructor
 
- Static Protected Member Functions inherited from Graphics::GraphicsContext
static void InternalRegisterEntity (const Graphics::GraphicsEntityId id, Graphics::GraphicsContextState &&state)
 
static void InternalDeregisterEntity (const Graphics::GraphicsEntityId id, Graphics::GraphicsContextState &&state)
 
template<class ID_ALLOCATOR >
static void InternalDefragment (ID_ALLOCATOR &allocator, Graphics::GraphicsContextState &&state)
 

Member Typedef Documentation

◆ AtomIsActive

◆ AtomTransform

◆ ObservableAllocator

Member Function Documentation

◆ __DeclareContext()

Visibility::ObservableContext::__DeclareContext ( )
private

◆ Alloc()

Graphics::ContextEntityId Visibility::ObservableContext::Alloc ( )
staticprivate

allocate a new slice for this context

◆ Create()

void Visibility::ObservableContext::Create ( )
static

create context

◆ Dealloc()

void Visibility::ObservableContext::Dealloc ( Graphics::ContextEntityId id)
staticprivate

deallocate a slice

◆ Setup()

void Visibility::ObservableContext::Setup ( const Graphics::GraphicsEntityId id,
VisibilityEntityType entityType )
static

setup entity

Friends And Related Symbol Documentation

◆ Models::ModelContext

friend class Models::ModelContext
friend

◆ ObserverContext

friend class ObserverContext
friend

Member Data Documentation

◆ observableAllocator

ObservableContext::ObservableAllocator Visibility::ObservableContext::observableAllocator
staticprivate

The documentation for this class was generated from the following files: