examples/Qt/ISFEditor/ISFEditor_app/Spout/SpoutSDK.cpp
// Can be used without OpenGL context 
// Use before OpenReceiver and should not be called repeatedly
// Redundant for Spout 2.006 - may be removed for future releases
// Spout::GetSenderInfo is equivalent

Can be used without OpenGL context
Use before OpenReceiver and should not be called repeatedly
Redundant for Spout 2.006 - may be removed for future releases
Spout::GetSenderInfo is equivalent
Can be used without OpenGL context Use before OpenReceiver and should not be called repeatedly Redundant for Spout 2 . 006 - may be removed for future releases Spout :: GetSenderInfo is equivalent
bool Spout::GetImageSize(char* name, unsigned int &width, unsigned int &height, bool &bMemoryMode)
{
	char newname[256];
	SharedTextureInfo TextureInfo;
	if(!interop.getSharedInfo(name, &TextureInfo)) {
		if(interop.senders.GetActiveSender(newname)) {
			if(interop.getSharedInfo(newname, &TextureInfo)) {
				strcpy_s(name, 256, newname);
				width  = TextureInfo.width;
				height = TextureInfo.height;
				if(TextureInfo.shareHandle == NULL)
					bMemoryMode = true;
				else
					bMemoryMode = false;
				return true;
			}
		}
	} 
	return false;
}
bool Spout :: GetImageSize ( char * name , unsigned int & width , unsigned int & height , bool & bMemoryMode ) { char newname [ 256 ] ; SharedTextureInfo TextureInfo ; if ( ! interop . getSharedInfo ( name , & TextureInfo ) ) { if ( interop . senders . GetActiveSender ( newname ) ) { if ( interop . getSharedInfo ( newname , & TextureInfo ) ) { strcpy_s ( name , 256 , newname ) ; width = TextureInfo . width ; height = TextureInfo . height ; if ( TextureInfo . shareHandle == NULL ) bMemoryMode = true ; else bMemoryMode = false ; return true ; } } } return false ; }
Can be used without OpenGL context
Use before OpenReceiver and should not be called repeatedly
Redundant for Spout 2.006 - may be removed for future releases
Spout::GetSenderInfo is equivalent
Can be used without OpenGL context Use before OpenReceiver and should not be called repeatedly Redundant for Spout 2 . 006 - may be removed for future releases Spout :: GetSenderInfo is equivalent
// Was initialized so get the sender details
 // Test to see whether the current sender is still there
 // Try the active sender
 // Pass back the new name and size
 // Check the sharehandle - if it is null, the sender is memoryshare
 // sender was running
