Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/FImageDataStorage
Description
Returns the number of batches GetBatchFirtsLODOffet will admit and that will cover the first LOD buffer with OffsetInBytes removed from the front.
A batch cannot be larger than BatchElemsSize. The last batch of a buffer will be smaller if BatchSizeInElems*BatchElemSizeInBytes is not multiple of the buffer size.
| Name | GetNumBatchesFirstLODOffset |
| Type | function |
| Header File | /Engine/Plugins/Mutable/Source/MutableRuntime/Public/MuR/ImageDataStorage.h |
| Include Path | #include "MuR/ImageDataStorage.h" |
int32 GetNumBatchesFirstLODOffset
(
int32 BatchSizeInElems,
int32 BatchElemSizeInBytes,
int32 OffsetInBytes
) const