Helper class to send rendered frames to Spout (http://spout.zeal.co/)
#include <SpoutSender.hpp>
|
void | captureAndSendFrame (GLuint fbo) |
| Captures a frame from the currently bound framebuffer, and sends it to Spout. More...
|
|
void | resize (uint width, uint height) |
| Informs the sender about changed buffer dimensions. More...
|
|
bool | isValid () |
| True if the sender has been successfuly created.
|
|
|
| SpoutSender (const QString &senderName) |
| Initializes the Spout library and creates a sender with the specified name (restricted to 256 chars) Requires a valid GL context.
|
|
virtual | ~SpoutSender () |
| Releases all held resources.
|
|
void SpoutSender::captureAndSendFrame |
( |
GLuint |
fbo | ) |
|
|
slot |
Requires a valid GL context.
- Parameters
-
fbo | The ID of the current framebuffer, should match with GL state! |
void SpoutSender::resize |
( |
uint |
width, |
|
|
uint |
height |
|
) |
| |
|
slot |
Does not need a GL context.