Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | Related Pages

renderresolution.h

Go to the documentation of this file.
00001 /***************************************************************************
00002         renderresolution.h  -  Resolution descriptor for a render area
00003                              -------------------
00004     begin                : Sun Oct 26 2003
00005     copyright            : (C) 2003 by Reality Rift Studios
00006     email                : mattias@realityrift.com
00007  ***************************************************************************
00008 
00009  The contents of this file are subject to the Mozilla Public License Version
00010  1.1 (the "License"); you may not use this file except in compliance with
00011  the License. You may obtain a copy of the License at 
00012  http://www.mozilla.org/MPL/
00013 
00014  Software distributed under the License is distributed on an "AS IS" basis,
00015  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00016  for the specific language governing rights and limitations under the
00017  License.
00018 
00019  The Original Code is the NeoEngine, renderresolution.h
00020 
00021  The Initial Developer of the Original Code is Mattias Jansson.
00022  Portions created by Mattias Jansson are Copyright (C) 2003
00023  Reality Rift Studios. All Rights Reserved.
00024 
00025  ***************************************************************************/
00026 
00027 #ifndef __NERENDERRESOLUTION_H
00028 #define __NERENDERRESOLUTION_H
00029 
00030 
00037 #include "base.h"
00038 
00039 
00040 namespace NeoEngine
00041 {
00042 
00043 
00048 class NEOENGINE_API RenderResolution
00049 {
00050     public:
00051 
00053         unsigned int                                  m_uiWidth;
00054 
00056         unsigned int                                  m_uiHeight;
00057 
00059         unsigned int                                  m_uiBPP;
00060 
00062         unsigned int                                  m_uiDepthBits;
00063 
00065         unsigned int                                  m_uiStencilBits;
00066 
00068         unsigned int                                  m_uiRefreshRate;
00069 
00073                                                       RenderResolution() : m_uiWidth( 0 ), m_uiHeight( 0 ), m_uiBPP( 0 ), m_uiDepthBits( 0 ), m_uiStencilBits( 0 ), m_uiRefreshRate( 0 ) {}
00074 
00083                                                       RenderResolution( unsigned int uiWidth, unsigned int uiHeight, unsigned int uiBPP, unsigned int uiDepthBits = 0, unsigned int uiStencilBits = 0, unsigned int uiRefreshRate = 0 ) : m_uiWidth( uiWidth ), m_uiHeight( uiHeight ), m_uiBPP( uiBPP ), m_uiDepthBits( uiDepthBits ), m_uiStencilBits( uiStencilBits ), m_uiRefreshRate( uiRefreshRate ) {}
00084 
00090         bool                                          operator < ( const RenderResolution &rkRes ) const;
00091 };
00092 
00093 
00094 };
00095 
00096 
00097 #endif

Generated on Wed Jan 21 14:21:07 2004 for NeoEngine by doxygen 1.3.5