Navigation
API > API/Plugins > API/Plugins/WebMMedia
Inheritance Hierarchy
- IMediaTextureSample
- IMediaPoolable
- FWebMMediaTextureSample
References
| Module | WebMMedia |
| Header | /Engine/Plugins/Media/WebMMedia/Source/WebMMedia/Public/WebMMediaTextureSample.h |
| Include | #include "WebMMediaTextureSample.h" |
Syntax
class FWebMMediaTextureSample :
public IMediaTextureSample,
public IMediaPoolable
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| FRHITexture * | GetTexture () |
||
| TRefCountPtr< FRHITexture2D > | |||
| void | Initialize
(
FIntPoint InDisplaySize, |
Overridden from IMediaTextureSample
| Type | Name | Description | |
|---|---|---|---|
| const void * | GetBuffer () |
Get the sample's frame buffer. | |
| FIntPoint | GetDim () |
Get the width and height of the sample. | |
| FTimespan | GetDuration () |
Get the amount of time for which the sample is valid. | |
| EMediaTextureSampleFormat | GetFormat () |
Get the texture sample format. | |
| FIntPoint | GetOutputDim () |
Get the sample's desired output width and height. | |
| uint32 | GetStride () |
Get the horizontal stride (aka. pitch) of the sample's frame buffer. | |
| FMediaTimeStamp | GetTime () |
Get the sample time (in the player's local clock). | |
| bool | IsCacheable () |
Whether the sample can be held in a cache. | |
| bool | IsOutputSrgb () |
Whether the output of the sample is in sRGB color space. |
Overridden from IMediaPoolable
| Type | Name | Description | |
|---|---|---|---|
| void | Called when the object added to the pool. |