Skip to content
Send or receive openFrameworks textures to other applications which use DirectX and OpenGL with Spout
C++ Other
  1. C++ 99.0%
  2. Other 1.0%
Branch: master
Clone or download
elliotwoods Merge pull request #11 from prisonerjohn/feature/spout-2.007
Update README with latest tested versions, and remove outdated note.
Latest commit f419712 Oct 23, 2019

README.md

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);
}
You can’t perform that action at this time.