You.i Engine
YiViewport.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2020. All rights reserved.
2 #ifndef _YI_VIEWPORT_H_
3 #define _YI_VIEWPORT_H_
4 
5 #include "framework/YiPredef.h"
6 
13 {
14 public:
15  CYIViewport();
16  CYIViewport(int32_t x, int32_t y, int32_t width, int32_t height);
17  virtual ~CYIViewport();
18 
19  void Init(int32_t x, int32_t y, int32_t width, int32_t height);
20 
21  int32_t m_x;
22  int32_t m_y;
23  int32_t m_width;
24  int32_t m_height;
25 
26  bool operator==(const CYIViewport &rhs) const;
27  bool operator!=(const CYIViewport &rhs) const;
28 };
29 
32 #endif // _YI_VIEWPORT_H_
int32_t m_x
Definition: YiViewport.h:21
bool operator!=(const CYIViewport &rhs) const
int32_t m_y
Definition: YiViewport.h:22
virtual ~CYIViewport()
int32_t m_height
Definition: YiViewport.h:24
Definition: YiViewport.h:12
int32_t m_width
Definition: YiViewport.h:23
void Init(int32_t x, int32_t y, int32_t width, int32_t height)
bool operator==(const CYIViewport &rhs) const