Skylicht Engine
Loading...
Searching...
No Matches
irr::video::SExposedVideoData Struct Reference

structure for holding data describing a driver and operating system specific data. More...

#include <C:/Projects/skylicht-engine/Projects/Irrlicht/Include/SExposedVideoData.h>

Classes

struct  SOpenGLWin32
struct  SOpenGLLinux

Public Member Functions

 SExposedVideoData (void *Window)

Public Attributes

union { 
   SOpenGLWin32   OpenGLWin32 
   SOpenGLLinux   OpenGLLinux 
   struct { 
      ID3D11Device *   D3DDev11 
 Pointer to the ID3D11Device interface.
      IDXGISwapChain *   SwapChain 
 Pointer to the IDirect3D9 interface.
      void *   HWnd 
 Window handle. More...
   }   D3D11
}; 

Detailed Description

structure for holding data describing a driver and operating system specific data.

This data can be retrived by IVideoDriver::getExposedVideoData(). Use this with caution. This only should be used to make it possible to extend the engine easily without modification of its source. Note that this structure does not contain any valid data, if you are using the software or the null device.

Member Data Documentation

◆ HWnd

void* irr::video::SExposedVideoData::HWnd

Window handle.

Get with for example HWND h = reinterpret_cast<HWND>(exposedData.D3D9.HWnd)


The documentation for this struct was generated from the following file: