arsa  2.7
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  struct SOpenGLFB
76  {
78  void* Window;
79  };
80 
81  struct SOpenGLiOS
82  {
84  void* Context;
85 
87  void* View;
88 
91 
93  void* Window;
94  };
95 
97  {
99  void* Window;
100  };
101 
102  union
103  {
111  };
112 };
113 
114 } // end namespace video
115 } // end namespace irr
116 
117 
118 #endif
119 
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: CARSADPad.h:6
IDirect3D9 * D3D9
Pointer to the IDirect3D9 interface.
void * Window
The EGLNativeWindowType object.
void * ViewController
The UIViewController object.
void * Context
The EAGLContext object.
void * View
The subview UIView object where the drawing happens.
structure for holding data describing a driver and operating system specific data.
void * Window
The ANativeWindow object.