Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 764 Bytes

README.md

File metadata and controls

52 lines (40 loc) · 764 Bytes

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);
}