examples/Qt/ISFEditor/ISFEditor_app/Spout/SpoutGLDXinterop.cpp
//
// UNBIND THE SHARED TEXTURE
//
// for use within an application - this unbinds the shared texture and unlocks the interop object
//

UNBIND THE SHARED TEXTURE
for use within an application - this unbinds the shared texture and unlocks the interop object
UNBIND THE SHARED TEXTURE for use within an application - this unbinds the shared texture and unlocks the interop object
bool spoutGLDXinterop::UnBindSharedTexture()
{
	if(m_hInteropDevice == NULL || m_hInteropObject == NULL)
		return false;
	glBindTexture(GL_TEXTURE_2D,0);
	UnlockInteropObject(m_hInteropDevice, &m_hInteropObject);
	spoutdx.AllowAccess(m_hAccessMutex);
	return true;
}
bool spoutGLDXinterop :: UnBindSharedTexture ( ) { if ( m_hInteropDevice == NULL || m_hInteropObject == NULL ) return false ; glBindTexture ( GL_TEXTURE_2D , 0 ) ; UnlockInteropObject ( m_hInteropDevice , & m_hInteropObject ) ; spoutdx . AllowAccess ( m_hAccessMutex ) ; return true ; }
UNBIND THE SHARED TEXTURE
for use within an application - this unbinds the shared texture and unlocks the interop object
UNBIND THE SHARED TEXTURE for use within an application - this unbinds the shared texture and unlocks the interop object
// Only for GL/DX interop mode
 // Unbind our shared OpenGL texture
 // unlock dx object
 // Allow access to the texture
