FWebMMediaTextureSample

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public function

FWebMMediaTextureSample()

Functions

Name Description

Public function

void

 

CreateTexture()

Public function Virtual Const

FRHITexture ...

 

GetTexture()

Public function Const

TRefCountPtr...

 

GetTextureRef()

Public function

void

 

Initialize

(
    FIntPoint InDisplaySize,
    FIntPoint InTotalSize,
    FTimespan InTime,
    FTimespan InDuration
)

Overridden from IMediaTextureSample

Name Description

Public function Virtual

const void &...

 

GetBuffer()

Get the sample's frame buffer.

Public function Virtual Const

FIntPoint

 

GetDim()

Get the width and height of the sample.

Public function Virtual Const

FTimespan

 

GetDuration()

Get the amount of time for which the sample is valid.

Public function Virtual Const

EMediaTextur...

 

GetFormat()

Get the texture sample format.

Public function Virtual Const

FIntPoint

 

GetOutputDim()

Get the sample's desired output width and height.

Public function Virtual Const

uint32

 

GetStride()

Get the horizontal stride (aka. pitch) of the sample's frame buffer.

Public function Virtual Const

FMediaTimeSt...

 

GetTime()

Get the sample time (in the player's local clock).

Public function Virtual Const

bool

 

IsCacheable()

Whether the sample can be held in a cache.

Public function Virtual Const

bool

 

IsOutputSrgb()

Whether the output of the sample is in sRGB color space.

Overridden from IMediaPoolable

Name Description

Public function Virtual

void

 

ShutdownPoolable()

Called when the object added to the pool.