Divide Framework
0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
PostFXWindow.h
Go to the documentation of this file.
1
/*
2
Copyright (c) 2018 DIVIDE-Studio
3
Copyright (c) 2009 Ionut Cava
4
5
This file is part of DIVIDE Framework.
6
7
Permission is hereby granted, free of charge, to any person obtaining a copy
8
of this software
9
and associated documentation files (the "Software"), to deal in the Software
10
without restriction,
11
including without limitation the rights to use, copy, modify, merge, publish,
12
distribute, sublicense,
13
and/or sell copies of the Software, and to permit persons to whom the
14
Software is furnished to do so,
15
subject to the following conditions:
16
17
The above copyright notice and this permission notice shall be included in
18
all copies or substantial portions of the Software.
19
20
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
IMPLIED,
22
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
23
PARTICULAR PURPOSE AND NONINFRINGEMENT.
24
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
25
DAMAGES OR OTHER LIABILITY,
26
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
27
IN CONNECTION WITH THE SOFTWARE
28
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29
30
*/
31
32
#pragma once
33
#ifndef DVD_EDITOR_POSTFX_WINDOW_H_
34
#define DVD_EDITOR_POSTFX_WINDOW_H_
35
36
#include "
Editor/Widgets/Headers/DockedWindow.h
"
37
#include "
Core/Headers/PlatformContextComponent.h
"
38
39
namespace
Divide
{
40
class
Texture;
41
42
class
PostFX;
43
class
PostFXWindow
final :
public
DockedWindow
,
public
PlatformContextComponent
{
44
public
:
45
PostFXWindow
(
Editor
&
parent
,
PlatformContext
&
context
,
const
Descriptor
&
descriptor
);
46
47
void
drawInternal
()
override
;
48
private
:
49
PostFX
&
_postFX
;
50
Handle<Texture>
_previewTexture
= INVALID_HANDLE<Texture>;
51
};
52
}
//namespace Divide
53
54
#endif
//DVD_EDITOR_POSTFX_WINDOW_H_
DockedWindow.h
PlatformContextComponent.h
Divide::DockedWindow
Definition:
DockedWindow.h:45
Divide::DockedWindow::descriptor
const Descriptor & descriptor() const noexcept
Definition:
DockedWindow.h:69
Divide::Editor
Definition:
Editor.h:141
Divide::PlatformContextComponent
Definition:
PlatformContextComponent.h:39
Divide::PlatformContextComponent::context
PlatformContext & context() noexcept
Definition:
PlatformContextComponent.h:48
Divide::PlatformContext
Definition:
PlatformContext.h:71
Divide::PostFX
Definition:
PostFX.h:47
Divide::PostFXWindow
Definition:
PostFXWindow.h:43
Divide::PostFXWindow::_previewTexture
Handle< Texture > _previewTexture
Definition:
PostFXWindow.h:50
Divide::PostFXWindow::_postFX
PostFX & _postFX
Definition:
PostFXWindow.h:49
Divide::PostFXWindow::drawInternal
void drawInternal() override
Definition:
PostFXWindow.cpp:64
Divide
Handle console commands that start with a forward slash.
Definition:
AIProcessor.cpp:7
Divide::parent
Project & parent
Definition:
DefaultScene.h:41
Divide::DockedWindow::Descriptor
Definition:
DockedWindow.h:47
Divide::Handle
Definition:
PlatformDefines.h:519
Source
Editor
Widgets
DockedWindows
Headers
PostFXWindow.h
Generated on Fri May 17 2024 16:59:51 for Divide Framework by
1.9.6