Skylicht Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
Irrlicht
Include
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
9
struct
IDirect3D9;
10
struct
IDirect3DDevice9;
11
struct
IDirect3D8;
12
struct
IDirect3DDevice8;
13
struct
ID3D11Device;
14
struct
ID3D10Device;
15
struct
IDXGISwapChain;
16
17
namespace
irr
18
{
19
namespace
video
20
{
21
23
28
struct
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
33
struct
SOpenGLWin32
34
{
36
37
void
*
HDc
;
38
40
41
void
*
HRc
;
42
44
45
void
*
HWnd
;
46
};
47
48
struct
SOpenGLLinux
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
irr::video
The video namespace contains classes for accessing the video driver. All 2d and 3d rendering is done ...
Definition
EDriverFeatures.h:11
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition
Skylicht.h:33
irr::video::SExposedVideoData::SOpenGLLinux
Definition
SExposedVideoData.h:49
irr::video::SExposedVideoData::SOpenGLWin32
Definition
SExposedVideoData.h:34
irr::video::SExposedVideoData::SOpenGLWin32::HWnd
void * HWnd
Window handle.
Definition
SExposedVideoData.h:45
irr::video::SExposedVideoData::SOpenGLWin32::HDc
void * HDc
Private GDI Device Context.
Definition
SExposedVideoData.h:37
irr::video::SExposedVideoData::SOpenGLWin32::HRc
void * HRc
Permanent Rendering Context.
Definition
SExposedVideoData.h:41
irr::video::SExposedVideoData::HWnd
void * HWnd
Window handle.
Definition
SExposedVideoData.h:71
irr::video::SExposedVideoData::SwapChain
IDXGISwapChain * SwapChain
Pointer to the IDirect3D9 interface.
Definition
SExposedVideoData.h:67
irr::video::SExposedVideoData::D3DDev11
ID3D11Device * D3DDev11
Pointer to the ID3D11Device interface.
Definition
SExposedVideoData.h:64
Generated by
1.17.0