Navigation
Unreal Engine C++ API Reference > Runtime > RHI > FDynamicRHI
- FDynamicRHI::RHIUnlockTexture2D()
- FVulkanDynamicRHI::RHIUnlockTexture2D()
- FNullDynamicRHI::RHIUnlockTexture2D()
- FOpenGLDynamicRHI::RHIUnlockTexture2D()
References
Module | RHI |
Header | /Engine/Source/Runtime/RHI/Public/DynamicRHI.h |
Include | #include "DynamicRHI.h" |
void RHIUnlockTexture2D
&40;
FRHITexture2D &42; Texture,
uint32 MipIndex,
bool bLockWithinMiptail
&41;
Remarks
Unlocks a previously locked RHI texture resource
Parameters
Name | Description |
---|---|
Texture | the RHI texture resource to unlock, must not be 0 |
MipIndex | index of the mip level to unlock |
bLockWithinMiptail | for platforms that support packed miptails allow locking of individual mip levels within the miptail |