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
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_
#define MYGUI_EXPORT
void setOffset(int _left, int _top) const