IMediaTextureSample::GetBuffer

Get the sample's frame buffer.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Media

Header

/Engine/Source/Runtime/Media/Public/IMediaTextureSample.h

Include

#include "IMediaTextureSample.h"

Syntax

const void * GetBuffer()

Remarks

Get the sample's frame buffer.

The returned buffer is only valid for the life time of this sample.

Returns

Buffer containing the texels, or nullptr if the sample holds an FTexture.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss