Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/MuR > API/Plugins/MutableRuntime/MuR/FImageDataStorage
References
| Module | MutableRuntime |
| Header | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Public/MuR/ImageDataStorage.h |
| Include | #include "MuR/ImageDataStorage.h" |
int32 GetNumBatchesFirstLODOffset
(
int32 BatchSizeInElems,
int32 BatchElemSizeInBytes,
int32 OffsetInBytes
) const
Remarks
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.