#include <glweaver.h>
|
| GLWeaver (SR::SRContext &context, unsigned int width, unsigned int height) |
| Constructs a class to be used for weaving an input image of a certain size. More...
|
|
| ~GLWeaver () |
| Handles proper destruction of all weaver related classes and buffers. More...
|
|
| GLWeaverBase () |
|
| ~GLWeaverBase () |
|
GLuint | getFrameBuffer () |
| Returns the buffer that will be used to create a weaved imaged. This buffer expects a side-by-side image. More...
|
|
void | setInputFrameBuffer (GLuint frameBufferID, GLuint renderedTextureID) |
| Sets the buffer that will be used to create a weaved image. More...
|
|
void | setWindowHandle (HWND handle) |
| Sets the window handle of the application window. If the weaver was created using a deprecated constructor, setting window handle has no effect. More...
|
|
bool | canWeave () |
| Used to determine if software weaving is possible on this device. More...
|
|
bool | canWeave (unsigned int width, unsigned int height) |
| Used to determine if software weaving is possible for certain size and visibility to the currently bound framebuffer. More...
|
|
bool | canWeave (unsigned int width, unsigned int height, unsigned int xOffset, unsigned int yOffset) |
| Used to determine if software weaving is possible for certain size and visibility to the currently bound framebuffer. More...
|
|
void | weave (unsigned int width, unsigned int height) |
| Can be called to render a weaved image of a certain size to the currently bound framebuffer. More...
|
|
void | weave (unsigned int width, unsigned int height, unsigned int xOffset, unsigned int yOffset) |
| Can be called to render a weaved image of a certain size to the currently bound framebuffer. More...
|
|
|
static GLWeaver * | create (SR::SRContext &context, unsigned int width, unsigned int height) |
| Constructs a class to be used for weaving an input image of a certain size. More...
|
|
|
std::unique_ptr< Impl > | pimpl |
|
◆ GLWeaver()
SR::GLWeaver::GLWeaver |
( |
SR::SRContext & |
context, |
|
|
unsigned int |
width, |
|
|
unsigned int |
height |
|
) |
| |
Constructs a class to be used for weaving an input image of a certain size.
- Parameters
-
context | to connect to |
width | of the side-by-side image to be weaved together |
height | of the side-by-side image to be weaved together |
- Exceptions
-
std::exception | if FrameBuffer did not initialize successfully, can be caused by using Opengl in parallel on another thread |
◆ ~GLWeaver()
SR::GLWeaver::~GLWeaver |
( |
| ) |
|
Handles proper destruction of all weaver related classes and buffers.
◆ create()
static GLWeaver * SR::GLWeaver::create |
( |
SR::SRContext & |
context, |
|
|
unsigned int |
width, |
|
|
unsigned int |
height |
|
) |
| |
|
static |
Constructs a class to be used for weaving an input image of a certain size.
- Deprecated:
- Calling delete on the returned pointer causes crashing, developers should use the constructor of GLWeaver directly
- Parameters
-
context | to connect to, needs to be valid for the lifetime of the weaver object. |
width | of the side-by-side image to be weaved together |
height | of the side-by-side image to be weaved together |
- Exceptions
-
std::exception | if FrameBuffer did not initialize successfully, can be caused by using Opengl in parallel on another thread |
- Returns
- pointer to new GLWeaver instance
The documentation for this class was generated from the following file: