00001 /*************************************************************************** 00002 renderadapter.h - Render adapter data 00003 ------------------- 00004 begin : Tue Oct 28 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, renderadapter.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 __NERENDERADAPTER_H 00028 #define __NERENDERADAPTER_H 00029 00030 00031 #include "base.h" 00032 00033 00040 namespace NeoEngine 00041 { 00042 00043 00048 class NEOENGINE_API RenderAdapter 00049 { 00050 public: 00051 00053 std::string m_strName; 00054 00056 unsigned int m_uiID; 00057 00058 #ifdef WIN32 00059 00061 void *m_hMonitor; 00062 00064 int m_aiMonitorRect[4]; 00065 00067 void *m_apData[13]; 00068 00069 #elif defined(__APPLE__) 00070 00072 void *m_apData[16]; 00073 00074 #elif defined(POSIX) 00075 00077 void *m_apData[16]; 00078 00079 #else 00080 00082 void *m_apData[16]; 00083 00084 #endif 00085 00086 }; 00087 00088 00089 }; 00090 00091 00092 #endif 00093