Nebula
Loading...
Searching...
No Matches
bloomcontext.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
9//------------------------------------------------------------------------------
12namespace PostEffects
13{
14
16{
18public:
22 virtual ~BloomContext();
23
25 static void Create();
27 static void Discard();
28
30 static void Setup();
31
34 static void SetDirtMask(const CoreGraphics::TextureId texture);
35
37 static void Resize(const uint framescriptHash, SizeT width, SizeT height);
38
39private:
40
42 static Graphics::ContextEntityId Alloc() { return Graphics::InvalidContextEntityId; }
45
46};
47
48} // namespace PostEffects
Definition graphicscontext.h:175
static Graphics::ContextEntityId Alloc()
implement an empty alloc
Definition bloomcontext.h:42
__DeclarePluginContext()
static void Discard()
discard context
Definition bloomcontext.cc:293
static void SetDirtMask(const CoreGraphics::TextureId texture)
Screen-space lens dirt multiplied onto the bloom.
Definition bloomcontext.cc:262
static void Setup()
setup bloom context
Definition bloomcontext.cc:73
static void Resize(const uint framescriptHash, SizeT width, SizeT height)
Handle window resize.
Definition bloomcontext.cc:192
static void Dealloc(Graphics::ContextEntityId id)
implement a dummy dealloc
Definition bloomcontext.h:44
BloomContext()
constructor
Definition bloomcontext.cc:58
static void Create()
create context
Definition bloomcontext.cc:280
Bloom post effect.
Definition bloomcontext.cc:18
texture type
Definition texture.h:25
Definition graphicscontext.h:143
int SizeT
Definition types.h:42
unsigned int uint
Definition types.h:33