Nebula
Loading...
Searching...
No Matches
PostEffects::HistogramContext Class Reference

#include <histogramcontext.h>

Inherits Graphics::GraphicsContext.

Public Member Functions

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

Static Public Member Functions

static void Create ()
 create context
 
static void Discard ()
 discard context
 
static void SetWindow (const Math::float2 offset, Math::float2 size, int mip)
 set histogram window in relative coordinates and mip of source texture
 
static void Setup (const Ptr< Frame::FrameScript > &script)
 setup bloom context
 
static void UpdateViewResources (const Ptr< Graphics::View > &view, const Graphics::FrameContext &ctx)
 update view resources
 
static void UpdateConstants ()
 update constants
 
static void WindowResized (const CoreGraphics::WindowId windowId, SizeT width, SizeT height)
 Handle window resize.
 

Private Member Functions

 __DeclarePluginContext ()
 

Static Private Member Functions

static Graphics::ContextEntityId Alloc ()
 implement an empty alloc
 
static void Dealloc (Graphics::ContextEntityId id)
 implement a dummy dealloc
 

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)
 

Constructor & Destructor Documentation

◆ HistogramContext()

PostEffects::HistogramContext::HistogramContext ( )

constructor

◆ ~HistogramContext()

PostEffects::HistogramContext::~HistogramContext ( )
virtual

destructor

Member Function Documentation

◆ __DeclarePluginContext()

PostEffects::HistogramContext::__DeclarePluginContext ( )
private

◆ Alloc()

static Graphics::ContextEntityId PostEffects::HistogramContext::Alloc ( )
inlinestaticprivate

implement an empty alloc

◆ Create()

void PostEffects::HistogramContext::Create ( )
static

create context

◆ Dealloc()

static void PostEffects::HistogramContext::Dealloc ( Graphics::ContextEntityId id)
inlinestaticprivate

implement a dummy dealloc

◆ Discard()

void PostEffects::HistogramContext::Discard ( )
static

discard context

◆ Setup()

void PostEffects::HistogramContext::Setup ( const Ptr< Frame::FrameScript > & script)
static

setup bloom context

◆ SetWindow()

void PostEffects::HistogramContext::SetWindow ( const Math::float2 offset,
Math::float2 size,
int mip )
static

set histogram window in relative coordinates and mip of source texture

◆ UpdateConstants()

void PostEffects::HistogramContext::UpdateConstants ( )
static

update constants

◆ UpdateViewResources()

void PostEffects::HistogramContext::UpdateViewResources ( const Ptr< Graphics::View > & view,
const Graphics::FrameContext & ctx )
static

update view resources

◆ WindowResized()

void PostEffects::HistogramContext::WindowResized ( const CoreGraphics::WindowId windowId,
SizeT width,
SizeT height )
static

Handle window resize.


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