| FDynamicRHI::RHIVirtualTextureSetFirstMipInMemory()
|
Module |
|
Header |
/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLDrv.h |
Include |
#include "OpenGLDrv.h" |
Source |
/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLTexture.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 |