MyGUI
3.4.3
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
MyGUIEngine
include
MyGUI_RenderTargetInfo.h
Go to the documentation of this file.
1
/*
2
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
3
* Distributed under the MIT License
4
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5
*/
6
7
#ifndef MYGUI_RENDER_TARGET_INFO_H_
8
#define MYGUI_RENDER_TARGET_INFO_H_
9
10
#include "
MyGUI_Prerequest.h
"
11
12
namespace
MyGUI
13
{
14
15
struct
MYGUI_EXPORT
RenderTargetInfo
16
{
17
public
:
18
void
setOffset
(
int
_left,
int
_top)
const
19
{
20
leftOffset = _left;
21
topOffset = _top;
22
}
23
24
public
:
25
float
maximumDepth{0};
26
float
pixScaleX{1};
27
float
pixScaleY{1};
28
float
hOffset{0};
29
float
vOffset{0};
30
float
aspectCoef{1};
31
32
mutable
int
leftOffset{0};
33
mutable
int
topOffset{0};
34
};
35
36
37
}
// namespace MyGUI
38
39
#endif
// MYGUI_RENDER_TARGET_INFO_H_
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition
MyGUI_Platform.h:77
MyGUI_Prerequest.h
MyGUI
Definition
MyGUI_ActionController.h:15
MyGUI::RenderTargetInfo
Definition
MyGUI_RenderTargetInfo.h:16
MyGUI::RenderTargetInfo::setOffset
void setOffset(int _left, int _top) const
Definition
MyGUI_RenderTargetInfo.h:18
Generated by
1.12.0