Skylicht Engine
Loading...
Searching...
No Matches
SExposedVideoData.h
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
9struct IDirect3D9;
10struct IDirect3DDevice9;
11struct IDirect3D8;
12struct IDirect3DDevice8;
13struct ID3D11Device;
14struct ID3D10Device;
15struct IDXGISwapChain;
16
17namespace irr
18{
19namespace video
20{
21
23
28struct SExposedVideoData
29{
30 SExposedVideoData() {OpenGLWin32.HDc=0; OpenGLWin32.HRc=0; OpenGLWin32.HWnd=0;}
31 explicit SExposedVideoData(void* Window) {OpenGLWin32.HDc=0; OpenGLWin32.HRc=0; OpenGLWin32.HWnd=Window;}
32
34 {
36
37 void* HDc;
38
40
41 void* HRc;
42
44
45 void* HWnd;
46 };
47
49 {
50 // XWindow handles
51 void* X11Display;
52 void* X11Context;
53 unsigned long X11Window;
54 };
55
56 union
57 {
58 SOpenGLWin32 OpenGLWin32;
59 SOpenGLLinux OpenGLLinux;
60
61 struct
62 {
64 ID3D11Device* D3DDev11;
65
67 IDXGISwapChain* SwapChain;
68
70
71 void* HWnd;
72 } D3D11;
73 };
74};
75
76} // end namespace video
77} // end namespace irr
78
79
80#endif
81
The video namespace contains classes for accessing the video driver. All 2d and 3d rendering is done ...
Definition EDriverFeatures.h:11
Everything in the Irrlicht Engine can be found in this namespace.
Definition Skylicht.h:33
Definition SExposedVideoData.h:49
Definition SExposedVideoData.h:34
void * HWnd
Window handle.
Definition SExposedVideoData.h:45
void * HDc
Private GDI Device Context.
Definition SExposedVideoData.h:37
void * HRc
Permanent Rendering Context.
Definition SExposedVideoData.h:41
void * HWnd
Window handle.
Definition SExposedVideoData.h:71
IDXGISwapChain * SwapChain
Pointer to the IDirect3D9 interface.
Definition SExposedVideoData.h:67
ID3D11Device * D3DDev11
Pointer to the ID3D11Device interface.
Definition SExposedVideoData.h:64