Navigation
API > API/Runtime > API/Runtime/VulkanRHI > API/Runtime/VulkanRHI/FVulkanDynamicRHI
- FDynamicRHI::RHICalcTexturePlatformSize()
- FVulkanDynamicRHI::RHICalcTexturePlatformSize()
References
| Module | VulkanRHI |
| Header | /Engine/Source/Runtime/VulkanRHI/Public/VulkanDynamicRHI.h |
| Include | #include "VulkanDynamicRHI.h" |
| Source | /Engine/Source/Runtime/VulkanRHI/Private/VulkanTexture.cpp |
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.