You.i Engine
CYIViewport Class Reference

#include <renderer/YiViewport.h>

Public Member Functions

 CYIViewport ()
 
 CYIViewport (int32_t x, int32_t y, int32_t width, int32_t height)
 
virtual ~CYIViewport ()
 
void Init (int32_t x, int32_t y, int32_t width, int32_t height)
 
bool operator== (const CYIViewport &rhs) const
 
bool operator!= (const CYIViewport &rhs) const
 

Public Attributes

int32_t m_x
 
int32_t m_y
 
int32_t m_width
 
int32_t m_height
 

Constructor & Destructor Documentation

◆ CYIViewport() [1/2]

CYIViewport::CYIViewport ( )

◆ CYIViewport() [2/2]

CYIViewport::CYIViewport ( int32_t  x,
int32_t  y,
int32_t  width,
int32_t  height 
)

◆ ~CYIViewport()

virtual CYIViewport::~CYIViewport ( )
virtual

Member Function Documentation

◆ Init()

void CYIViewport::Init ( int32_t  x,
int32_t  y,
int32_t  width,
int32_t  height 
)

◆ operator!=()

bool CYIViewport::operator!= ( const CYIViewport rhs) const

◆ operator==()

bool CYIViewport::operator== ( const CYIViewport rhs) const

Member Data Documentation

◆ m_height

int32_t CYIViewport::m_height

◆ m_width

int32_t CYIViewport::m_width

◆ m_x

int32_t CYIViewport::m_x

◆ m_y

int32_t CYIViewport::m_y

The documentation for this class was generated from the following file: