Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FDynamicRHI
Description
Function that is used to allocate / free space used for virtual texture mip levels. Make sure you also update the visible mip levels.
| Name | RHIVirtualTextureSetFirstMipInMemory |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/DynamicRHI.h |
| Include Path | #include "DynamicRHI.h" |
| Source | /Engine/Source/Runtime/RHI/Private/DynamicRHI.cpp |
virtual void RHIVirtualTextureSetFirstMipInMemory
(
class FRHICommandListImmediate & RHICmdList,
FRHITexture * Texture,
uint32 FirstMip
)
Parameters
| Name | Remarks |
|---|---|
| Texture | the texture to update, must have been created with TexCreate_Virtual |
| FirstMip | the first mip that should be in memory |