neo::render::Resolution Class Reference

#include <render/resolution.h>

List of all members.


Detailed Description

Resolution data
Author:
Mattias Jansson (mattias@realityrift.com)


Public Member Functions

 Resolution (unsigned int width=0, unsigned int height=0, bool fullscreen=false, unsigned int color=0, unsigned int depth=0, unsigned int stencil=0, unsigned int refresh=0)
 Set values.
bool operator== (const Resolution &rhs) const
 Compare resolutions.

Public Attributes

unsigned int _width
 Width.
unsigned int _height
 Height.
bool _fullscreen
 Fullscreen.
unsigned int _color
 Color buffer bitdepth.
unsigned int _depth
 Depth buffer bitdepth.
unsigned int _stencil
 Stencil buffer bitdepth.
unsigned int _refresh
 Refresh rate.
bool _vsync
 Vertical sync.


Constructor & Destructor Documentation

neo::render::Resolution::Resolution ( unsigned int  width = 0,
unsigned int  height = 0,
bool  fullscreen = false,
unsigned int  color = 0,
unsigned int  depth = 0,
unsigned int  stencil = 0,
unsigned int  refresh = 0 
)

Set values. Any null/zero value indicates the attribute is ignored by the application and the backend is free to choose the best suitable pixel format disregarding that attribute

Parameters:
width Width
height Height
fullscreen Fullscreen flag
color Color buffer bitdepth
depth Depth buffer bitdepth
stencil Stencil buffer bitdepth
refresh Refresh rate


Member Function Documentation

bool neo::render::Resolution::operator== ( const Resolution rhs  )  const [inline]

Compare resolutions

Parameters:
rhs Resolution to compare with
Returns:
true if equal, false if not


The documentation for this class was generated from the following file:
Generated on Sat Feb 17 20:51:06 2007 for NeoEngine 2 - Evolution by  doxygen 1.5.1