| FDynamicRHI::RHIVirtualTextureSetFirstMipInMemory()
|
Module |
|
Header |
/Engine/Source/Runtime/VulkanRHI/Public/VulkanDynamicRHI.h |
Include |
#include "VulkanDynamicRHI.h" |
Source |
/Engine/Source/Runtime/VulkanRHI/Private/VulkanTexture.cpp |
virtual void RHIVirtualTextureSetFirstMipInMemory
(
FRHITexture2D * Texture,
uint32 FirstMip
)
Function that is used to allocate / free space used for virtual texture mip levels. Make sure you also update the visible mip levels.
Parameter |
Description |
---|---|
Texture |
the texture to update, must have been created with TexCreate_Virtual |
FirstMip |
the first mip that should be in memory |