Nebula
Loading...
Searching...
No Matches
Graphics::LightProbeContext Class Reference

#include <lightprobecontext.h>

Detailed Description

Adds a light probe component to graphics entities.

Inherits Graphics::GraphicsContext.

Public Member Functions

 LightProbeContext ()
 constructor
virtual ~LightProbeContext ()
 destructor
Public Member Functions inherited from Graphics::GraphicsContext
 GraphicsContext ()
 constructor
virtual ~GraphicsContext ()
 destructor

Static Public Member Functions

static const Math::mat4GetTransform (const Graphics::GraphicsEntityId id)
 get transform

Private Types

typedef Ids::IdAllocator< Math::mat4, Math::mat4LightProbeAllocator

Private Member Functions

 __DeclareContext ()

Static Private Member Functions

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

Static Private Attributes

static LightProbeAllocator lightProbeAllocator

Additional Inherited Members

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

◆ LightProbeAllocator

Constructor & Destructor Documentation

◆ LightProbeContext()

Graphics::LightProbeContext::LightProbeContext ( )

constructor

◆ ~LightProbeContext()

Graphics::LightProbeContext::~LightProbeContext ( )
virtual

destructor

Member Function Documentation

◆ __DeclareContext()

Graphics::LightProbeContext::__DeclareContext ( )
private

◆ Alloc()

ContextEntityId Graphics::LightProbeContext::Alloc ( )
staticprivate

allocate a new slice for this context

◆ Dealloc()

void Graphics::LightProbeContext::Dealloc ( ContextEntityId id)
staticprivate

deallocate a slice

◆ GetTransform()

const Math::mat4 & Graphics::LightProbeContext::GetTransform ( const Graphics::GraphicsEntityId id)
static

get transform

Member Data Documentation

◆ lightProbeAllocator

LightProbeContext::LightProbeAllocator Graphics::LightProbeContext::lightProbeAllocator
staticprivate

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