IMediaTextureSample::GetDim

Get the width and height of the sample.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Media

Header

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

Include

#include "IMediaTextureSample.h"

Syntax

FIntPoint GetDim() const

Remarks

Get the width and height of the sample.

The sample may be larger than the output dimensions, because of horizontal or vertical padding required by some formats.

Returns

Buffer dimensions (in texels).

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