|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <Game.h>
Public Member Functions | |
| CStream ()=default | |
| CStream (const game_stream_properties &properties) | |
| ~CStream () | |
| bool | Open (const game_stream_properties &properties) |
| Create a stream for gameplay data. | |
| void | Close () |
| Free the specified stream. | |
| bool | GetBuffer (unsigned int width, unsigned int height, game_stream_buffer &buffer) |
| Get a buffer for zero-copy stream data. | |
| void | AddData (const game_stream_packet &packet) |
| Add a data packet to a stream. | |
| void | ReleaseBuffer (game_stream_buffer &buffer) |
| Free an allocated buffer. | |
| bool | IsOpen () const |
| Check if the stream opened correctly, e.g. after calling the constructor. | |
|
default |
|
inline |
|
inline |