Navigation
API > API/Plugins > API/Plugins/TmvMedia > API/Plugins/TmvMedia/FTmvMediaFrameMipInfo
Description
Gets the plane buffer offset accounting for the size of all previous planes. This is used for memory layout where all the planes are in one large memory block.
| Name | GetPlaneBufferOffset |
| Type | function |
| Header File | /Engine/Plugins/Media/TmvMedia/Source/TmvMedia/Public/TmvMediaFrameInfo.h |
| Include Path | #include "TmvMediaFrameInfo.h" |
bool GetPlaneBufferOffset
(
int32 InPlaneIndex,
SIZE_T & OutPlaneBufferOffset
) const
true if the plane buffer offset could be calculated, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| InPlaneIndex | Index of the plane we want to get the start offset of. |
| OutPlaneBufferOffset | Value populated with the plane buffer offset. |