MyGUI_RenderTargetInfo.h
Go to the documentation of this file.
/*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#ifndef MYGUI_RENDER_TARGET_INFO_H_
#define MYGUI_RENDER_TARGET_INFO_H_
#include "MyGUI_Prerequest.h"
namespace MyGUI
{
struct MYGUI_EXPORT RenderTargetInfo
{
public:
void setOffset(int _left, int _top) const
{
leftOffset = _left;
topOffset = _top;
}
public:
float maximumDepth{0};
float pixScaleX{1};
float pixScaleY{1};
float hOffset{0};
float vOffset{0};
float aspectCoef{1};
mutable int leftOffset{0};
mutable int topOffset{0};
};
} // namespace MyGUI
#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