Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
SExposedVideoData.hpp
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 nirtcpp/nirtcpp.hpp
4
5#ifndef S_EXPOSED_VIDEO_DATA_HPP_INCLUDED
6#define S_EXPOSED_VIDEO_DATA_HPP_INCLUDED
7
8// forward declarations for internal pointers
9class IDirect3D9;
10class IDirect3DDevice9;
11class IDirect3D8;
12class IDirect3DDevice8;
13
14namespace nirt
15{
16namespace video
17{
18
20
26{
27public:
28 SExposedVideoData() {OpenGLWin32.HDc=0; OpenGLWin32.HRc=0; OpenGLWin32.HWnd=0;}
29 explicit SExposedVideoData(void* Window) {OpenGLWin32.HDc=0; OpenGLWin32.HRc=0; OpenGLWin32.HWnd=Window;}
30
31public:
32 class SD3D9
33 {
34 public:
36 IDirect3D9* D3D9;
37
39 IDirect3DDevice9* D3DDev9;
40
42
43 void* HWnd;
44 };
45
46public:
48 {
49 public:
51
52 void* HDc;
53
55
56 void* HRc;
57
59
60 void* HWnd;
61 };
62
63public:
65 {
66 public:
67 // XWindow handles
68 void* X11Display;
69 void* X11Context;
70 unsigned long X11Window;
71 unsigned long GLXWindow;
72 };
73
74public:
76 {
77 public:
79 void* Context;
80
82 void* Window;
83 };
84
85public:
86 union
87 {
88 SD3D9 D3D9;
89 SOpenGLWin32 OpenGLWin32;
90 SOpenGLLinux OpenGLLinux;
91 SOpenGLOSX OpenGLOSX;
92 };
93};
94
95} // end namespace video
96} // end namespace nirt
97
98#endif
Definition SExposedVideoData.hpp:33
IDirect3DDevice9 * D3DDev9
Pointer to the IDirect3DDevice9 interface.
Definition SExposedVideoData.hpp:39
IDirect3D9 * D3D9
Pointer to the IDirect3D9 interface.
Definition SExposedVideoData.hpp:36
void * HWnd
Window handle.
Definition SExposedVideoData.hpp:43
Definition SExposedVideoData.hpp:65
Definition SExposedVideoData.hpp:76
void * Window
The NSWindow object.
Definition SExposedVideoData.hpp:82
void * Context
The NSOpenGLContext object.
Definition SExposedVideoData.hpp:79
Definition SExposedVideoData.hpp:48
void * HDc
Private GDI Device Context.
Definition SExposedVideoData.hpp:52
void * HWnd
Window handle.
Definition SExposedVideoData.hpp:60
void * HRc
Permanent Rendering Context.
Definition SExposedVideoData.hpp:56
class for holding data describing a driver and operating system specific data.
Definition SExposedVideoData.hpp:26
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11

Nirtcpp    @cppfx.xyz

Esvcpp    esv::print