Irrlicht 3D Engine
SExposedVideoData.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __S_EXPOSED_VIDEO_DATA_H_INCLUDED__
6 #define __S_EXPOSED_VIDEO_DATA_H_INCLUDED__
7 
8 // forward declarations for internal pointers
9 struct IDirect3D9;
10 struct IDirect3DDevice9;
11 struct IDirect3D8;
12 struct IDirect3DDevice8;
13 
14 namespace irr
15 {
16 namespace video
17 {
18 
20 
26 {
28  explicit SExposedVideoData(void* Window) {OpenGLWin32.HDc=0; OpenGLWin32.HRc=0; OpenGLWin32.HWnd=Window;}
29 
30  struct SD3D9
31  {
33  IDirect3D9* D3D9;
34 
36  IDirect3DDevice9* D3DDev9;
37 
39 
40  void* HWnd;
41  };
42 
43  struct SOpenGLWin32
44  {
46 
47  void* HDc;
48 
50 
51  void* HRc;
52 
54 
55  void* HWnd;
56  };
57 
58  struct SOpenGLLinux
59  {
60  // XWindow handles
61  void* X11Display;
62  void* X11Context;
63  unsigned long X11Window;
64  };
65 
66  struct SOpenGLOSX
67  {
69  void* Context;
70 
72  void* Window;
73  };
74 
75  union
76  {
81  };
82 };
83 
84 } // end namespace video
85 } // end namespace irr
86 
87 
88 #endif
89 
void * HDc
Private GDI Device Context.
void * HRc
Permanent Rendering Context.
void * Context
The NSOpenGLContext object.
IDirect3DDevice9 * D3DDev9
Pointer to the IDirect3DDevice9 interface.
Everything in the Irrlicht Engine can be found in this namespace.
Definition: aabbox3d.h:12
IDirect3D9 * D3D9
Pointer to the IDirect3D9 interface.
structure for holding data describing a driver and operating system specific data.