Nebula
Loading...
Searching...
No Matches
ssrcontext.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
9//------------------------------------------------------------------------------
11namespace PostEffects
12{
13
15{
17public:
19 SSRContext();
21 virtual ~SSRContext();
22
23
25 static void Create();
27 static void Discard();
28
30 static void Setup(const Ptr<Frame::FrameScript>& script);
31
34
35private:
36
38 static Graphics::ContextEntityId Alloc() { return Graphics::InvalidContextEntityId; }
41
42};
43
44} // namespace PostEffects
Definition graphicscontext.h:165
Definition ssrcontext.h:15
__DeclarePluginContext()
static void Create()
create context
Definition ssrcontext.cc:55
SSRContext()
constructor
Definition ssrcontext.cc:40
static void Discard()
discard context
Definition ssrcontext.cc:100
static void Dealloc(Graphics::ContextEntityId id)
implement a dummy dealloc
Definition ssrcontext.h:40
static void UpdateViewDependentResources(const Ptr< Graphics::View > &view, const Graphics::FrameContext &ctx)
update view resources
Definition ssrcontext.cc:152
static Graphics::ContextEntityId Alloc()
implement an empty alloc
Definition ssrcontext.h:38
virtual ~SSRContext()
destructor
Definition ssrcontext.cc:47
static void Setup(const Ptr< Frame::FrameScript > &script)
setup bloom context
Definition ssrcontext.cc:114
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Bloom post effect.
Definition bloomcontext.cc:16
Definition graphicscontext.h:133
Definition graphicsserver.h:31