Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | Namespace Members | Class Members | Related Pages

DisplayMode Class Reference
[XEngineCore Library]

List of all members.

Detailed Description

This class holds information about a display mode of a render context. A display mode in XEngine consists of the size of the render target, its pixel format, and the depth of the ancillary buffers, such as the depth and stencil buffers.


Public Member Functions

 DisplayMode ()
 Default constructor.
 DisplayMode (const wxSize &size, const PixelFormat &format, size_t depthBufferDepth, size_t stencilBufferDepth)
 Constructor for all members of this object.
bool operator== (const DisplayMode &mode) const
 Equality operator.
bool operator!= (const DisplayMode &mode) const
 Unequality operator.

Public Attributes

wxSize m_size
 The size of the target.
PixelFormat m_format
 Pixel format of the target (for windows, the format of the back buffer).
size_t m_depthBufferDepth
 The bit depth of the depth buffer.
size_t m_stencilBufferDepth
 The bit depth of the stencil buffer.


Member Function Documentation

bool operator!= const DisplayMode mode  )  const
 

Unquality operator.

bool operator== const DisplayMode mode  )  const
 

Equality operator.


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