Nebula
Loading...
Searching...
No Matches
bloomcontext.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
9//------------------------------------------------------------------------------
11namespace PostEffects
12{
13
15{
17public:
21 virtual ~BloomContext();
22
24 static void Create();
26 static void Discard();
27
29 static void Setup();
30
32 static void WindowResized(const CoreGraphics::WindowId windowId, SizeT width, SizeT height);
33
34private:
35
37 static Graphics::ContextEntityId Alloc() { return Graphics::InvalidContextEntityId; }
40
41};
42
43} // namespace PostEffects
Definition graphicscontext.h:165
Definition bloomcontext.h:15
static Graphics::ContextEntityId Alloc()
implement an empty alloc
Definition bloomcontext.h:37
__DeclarePluginContext()
static void Discard()
discard context
Definition bloomcontext.cc:242
virtual ~BloomContext()
destructor
Definition bloomcontext.cc:45
static void Setup()
setup bloom context
Definition bloomcontext.cc:53
static void WindowResized(const CoreGraphics::WindowId windowId, SizeT width, SizeT height)
Handle window resize.
Definition bloomcontext.cc:154
static void Dealloc(Graphics::ContextEntityId id)
implement a dummy dealloc
Definition bloomcontext.h:39
BloomContext()
constructor
Definition bloomcontext.cc:38
static void Create()
create context
Definition bloomcontext.cc:229
Bloom post effect.
Definition bloomcontext.cc:16
float width
Definition ssaocontext.cc:43
float height
Definition ssaocontext.cc:43
Definition window.h:25
Definition graphicscontext.h:133
int SizeT
Definition types.h:49