Skip to content

Send or receive openFrameworks textures to other applications which use DirectX and OpenGL with Spout

License

Notifications You must be signed in to change notification settings

elliotwoods/ofxSpout

Repository files navigation

ofxSpout

Thumbnail

Implementation of Spout v2 for sharing textures between applications (including DX and GL).

Tested with:

  • openFrameworks 0.10.1 at a1deaf147bf0f9bbd2282db880afd23fd4cb7a7f
  • Visual Studio 2017
  • 32bit and 64bit
  • Windows 10
  • Spout v2.007

Usage

Sending

class ofApp {
	ofxSpout::Sender sender;
}
void ofApp::setup() {
	sender.init("My Sender");
	//...
}

void ofApp::update() {
	sender.send(myTexture);
}

Receiving

class ofApp {
	ofxSpout::Receiver sender;
}
void ofApp::setup() {
	receiver.init();
	//...
}

void ofApp::update() {
	receiver.receive(myTexture);
}

About

Send or receive openFrameworks textures to other applications which use DirectX and OpenGL with Spout

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages