MyGUI: MyGUI_RenderTargetInfo.h Source File

MyGUI 3.4.3

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
12namespace 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::vOffset
float vOffset
Definition MyGUI_RenderTargetInfo.h:29
MyGUI::RenderTargetInfo::topOffset
int topOffset
Definition MyGUI_RenderTargetInfo.h:33
MyGUI::RenderTargetInfo::setOffset
void setOffset(int _left, int _top) const
Definition MyGUI_RenderTargetInfo.h:18
MyGUI::RenderTargetInfo::hOffset
float hOffset
Definition MyGUI_RenderTargetInfo.h:28
MyGUI::RenderTargetInfo::pixScaleX
float pixScaleX
Definition MyGUI_RenderTargetInfo.h:26
MyGUI::RenderTargetInfo::leftOffset
int leftOffset
Definition MyGUI_RenderTargetInfo.h:32
MyGUI::RenderTargetInfo::maximumDepth
float maximumDepth
Definition MyGUI_RenderTargetInfo.h:25
MyGUI::RenderTargetInfo::pixScaleY
float pixScaleY
Definition MyGUI_RenderTargetInfo.h:27
MyGUI::RenderTargetInfo::aspectCoef
float aspectCoef
Definition MyGUI_RenderTargetInfo.h:30