FOpenGLDynamicRHI::RHIVirtualTextureSetFirstMipInMemory

Override Hierarchy

FDynamicRHI::RHIVirtualTextureSetFirstMipInMemory()

FOpenGLDynamicRHI::RHIVirtualTextureSetFirstMipInMemory()

Syntax

virtual void RHIVirtualTextureSetFirstMipInMemory
(
    FTexture2DRHIParamRef Texture,
    uint32 FirstMip
)

Remarks

Function that is used to allocate / free space used for virtual texture mip levels. Make sure you also update the visible mip levels.

Parameters

Parameter

Description

Texture

the texture to update, must have been created with TexCreate_Virtual

FirstMip

the first mip that should be in memory

References

Module

OpenGLDrv

Header

Runtime/OpenGLDrv/Public/OpenGLDrv.h

Source

Runtime/OpenGLDrv/Private/OpenGLTexture.cpp