Loading...
Searching...
No Matches
SExposedVideoData.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __S_EXPOSED_VIDEO_DATA_H_INCLUDED__
#define __S_EXPOSED_VIDEO_DATA_H_INCLUDED__
// forward declarations for internal pointers
struct IDirect3D9;
struct IDirect3DDevice9;
struct IDirect3D8;
struct IDirect3DDevice8;
namespace irr
{
namespace video
{
struct SExposedVideoData
{
SExposedVideoData() {OpenGLWin32.HDc=0; OpenGLWin32.HRc=0; OpenGLWin32.HWnd=0;}
explicit SExposedVideoData(void* Window) {OpenGLWin32.HDc=0; OpenGLWin32.HRc=0; OpenGLWin32.HWnd=Window;}
union
{
struct
{
IDirect3D9* D3D9;
IDirect3DDevice9* D3DDev9;
void* HWnd;
} D3D9;
struct
{
IDirect3D8* D3D8;
IDirect3DDevice8* D3DDev8;
void* HWnd;
} D3D8;
struct
{
void* HDc;
void* HRc;
void* HWnd;
} OpenGLWin32;
struct
{
// XWindow handles
void* X11Display;
void* X11Context;
unsigned long X11Window;
} OpenGLLinux;
};
};
} // end namespace video
} // end namespace irr
#endif
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 aabbox3d.h:13
irr::video::SExposedVideoData::HRc
void * HRc
Permanent Rendering Context.
Definition SExposedVideoData.h:68
irr::video::SExposedVideoData::HWnd
void * HWnd
Window handle.
Definition SExposedVideoData.h:42
irr::video::SExposedVideoData::OpenGLLinux
struct irr::video::SExposedVideoData::@070253146227206074203315172066356043213305314004::@353212076325155366046017220161311064031377347010 OpenGLLinux
irr::video::SExposedVideoData::X11Context
void * X11Context
Definition SExposedVideoData.h:79
irr::video::SExposedVideoData::D3D8
IDirect3D8 * D3D8
Pointer to the IDirect3D8 interface.
Definition SExposedVideoData.h:49
irr::video::SExposedVideoData::D3D9
IDirect3D9 * D3D9
Pointer to the IDirect3D9 interface.
Definition SExposedVideoData.h:35
irr::video::SExposedVideoData::X11Window
unsigned long X11Window
Definition SExposedVideoData.h:80
irr::video::SExposedVideoData::D3DDev9
IDirect3DDevice9 * D3DDev9
Pointer to the IDirect3DDevice9 interface.
Definition SExposedVideoData.h:38
irr::video::SExposedVideoData::SExposedVideoData
SExposedVideoData()
Definition SExposedVideoData.h:27
irr::video::SExposedVideoData::HDc
void * HDc
Private GDI Device Context.
Definition SExposedVideoData.h:64
irr::video::SExposedVideoData::OpenGLWin32
struct irr::video::SExposedVideoData::@070253146227206074203315172066356043213305314004::@047132121054142072275074261152077240217371113147 OpenGLWin32
irr::video::SExposedVideoData::D3DDev8
IDirect3DDevice8 * D3DDev8
Pointer to the IDirect3DDevice8 interface.
Definition SExposedVideoData.h:52
irr::video::SExposedVideoData::SExposedVideoData
SExposedVideoData(void *Window)
Definition SExposedVideoData.h:28
irr::video::SExposedVideoData::X11Display
void * X11Display
Definition SExposedVideoData.h:78
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0