examples/Qt/ISFEditor/ISFEditor_app/Spout/SpoutGLDXinterop.cpp
// this function initializes and prepares Directx 11

this function initializes and prepares Directx 11
this function initializes and prepares Directx 11
bool spoutGLDXinterop::OpenDirectX11()
{
	if(g_pd3dDevice != NULL) return true;
	if(!g_pd3dDevice) g_pd3dDevice = spoutdx.CreateDX11device();
	if(g_pd3dDevice == NULL) {
		return false;
	}
	g_pImmediateContext = spoutdx.GetImmediateContext();
	return true;
}
bool spoutGLDXinterop :: OpenDirectX11 ( ) { if ( g_pd3dDevice != NULL ) return true ; if ( ! g_pd3dDevice ) g_pd3dDevice = spoutdx . CreateDX11device ( ) ; if ( g_pd3dDevice == NULL ) { return false ; } g_pImmediateContext = spoutdx . GetImmediateContext ( ) ; return true ; }
this function initializes and prepares Directx 11
this function initializes and prepares Directx 11
// Quit if already initialized
 // Create a DirectX 11 device
 // 11.11.18
