OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Viewport Struct Reference

#include <Viewport.h>

Public Member Functions

 Viewport ()
 
void ResetScreen ()
 
void SetScreen (int uX, int uY, int uZ, int uW)
 
void SetViewport (int uX, int uY, int uZ, int uW)
 
bool Contains (unsigned int x, unsigned int y)
 

Public Attributes

int uScreen_TL_X
 
int uScreen_TL_Y
 
int uScreen_BR_X
 
int uScreen_BR_Y
 
int uViewportTL_X
 
int uViewportTL_Y
 
int uViewportBR_X
 
int uViewportBR_Y
 
int uScreenWidth
 
int uScreenHeight
 
int uScreenCenterX
 
int uScreenCenterY
 

Constructor & Destructor Documentation

◆ Viewport()

Viewport::Viewport ( )
inline

Member Function Documentation

◆ Contains()

bool Viewport::Contains ( unsigned int  x,
unsigned int  y 
)

◆ ResetScreen()

void Viewport::ResetScreen ( )

◆ SetScreen()

void Viewport::SetScreen ( int  uX,
int  uY,
int  uZ,
int  uW 
)

◆ SetViewport()

void Viewport::SetViewport ( int  uX,
int  uY,
int  uZ,
int  uW 
)

Member Data Documentation

◆ uScreen_BR_X

int Viewport::uScreen_BR_X

◆ uScreen_BR_Y

int Viewport::uScreen_BR_Y

◆ uScreen_TL_X

int Viewport::uScreen_TL_X

◆ uScreen_TL_Y

int Viewport::uScreen_TL_Y

◆ uScreenCenterX

int Viewport::uScreenCenterX

◆ uScreenCenterY

int Viewport::uScreenCenterY

◆ uScreenHeight

int Viewport::uScreenHeight

◆ uScreenWidth

int Viewport::uScreenWidth

◆ uViewportBR_X

int Viewport::uViewportBR_X

◆ uViewportBR_Y

int Viewport::uViewportBR_Y

◆ uViewportTL_X

int Viewport::uViewportTL_X

◆ uViewportTL_Y

int Viewport::uViewportTL_Y

The documentation for this struct was generated from the following files: