The IVideo resource object interface.
More...
#include "murl_resource_i_video.h"
The IVideo resource object interface.
◆ GetObjectInterface() [1/2]
virtual IObject* Murl::Resource::IVideo::GetObjectInterface |
( |
| ) |
|
|
pure virtual |
◆ GetObjectInterface() [2/2]
virtual const IObject* Murl::Resource::IVideo::GetObjectInterface |
( |
| ) |
const |
|
pure virtual |
◆ GetNumberOfStreams()
virtual UInt32 Murl::Resource::IVideo::GetNumberOfStreams |
( |
| ) |
const |
|
pure virtual |
Get the number of individual video streams.
- Returns
- The number of streams.
◆ CreateStream() [1/2]
Create an IVideoStream object from the resource, with default pixel format and size.
- Parameters
-
streamIndex | The index of the stream, from 0 to GetNumberOfStreams()-1. |
mipMapGen | The MIP map generation mode. |
- Returns
- The newly created stream object, or null if failed.
◆ CreateStream() [2/2]
Create an IVideoStream object from the resource, with custom pixel format and size.
- Parameters
-
streamIndex | The index of the stream, from 0 to GetNumberOfStreams()-1. |
pixelFormat | The desired pixel format. |
pixelSizeX | The horizontal size of the stream in pixels, at the base MIP level. |
pixelSizeY | The vertical size of the stream in pixels, at the base MIP level. |
divisor | An optional power-of-two prescale factor (use 1 for a 1:1 image). |
mipMapGen | The MIP map generation mode. |
- Returns
- The newly created stream object, or null if failed.
The documentation for this interface was generated from the following file: