◆ GetBuffer()
bool CGameClientStreamSwFramebuffer::GetBuffer |
( |
unsigned int |
width, |
|
|
unsigned int |
height, |
|
|
game_stream_buffer & |
buffer |
|
) |
| |
|
overridevirtual |
Get a buffer for zero-copy stream data.
- Parameters
-
| width | The framebuffer width, or 0 for no width specified |
| height | The framebuffer height, or 0 for no height specified |
[out] | buffer | The buffer, or unmodified if false is returned |
If this returns true, buffer must be freed using ReleaseBuffer().
- Returns
- True if buffer was set, false otherwise
Reimplemented from KODI::GAME::IGameClientStream.
The documentation for this class was generated from the following files: