Navigation
API > API/Runtime > API/Runtime/NullDrv > API/Runtime/NullDrv/FNullDynamicRHI
- FDynamicRHI::RHICalcTexturePlatformSize()
- FNullDynamicRHI::RHICalcTexturePlatformSize()
References
| Module | NullDrv |
| Header | /Engine/Source/Runtime/NullDrv/Public/NullRHI.h |
| Include | #include "NullRHI.h" |
virtual FRHICalcTextureSizeResult RHICalcTexturePlatformSize
(
FRHITextureDesc const & Desc,
uint32 FirstMipIndex
)
Remarks
Computes the total GPU memory a texture resource with the specified parameters will occupy on the current RHI platform. Also returns the required alignment for the resource.