Navigation
Unreal Engine C++ API Reference > Runtime > OpenGLDrv > FOpenGLDynamicRHI
- FDynamicRHI::RHILockTextureCubeFace()
- FOpenGLDynamicRHI::RHILockTextureCubeFace()
References
Module | OpenGLDrv |
Header | /Engine/Source/Runtime/OpenGLDrv/Public/OpenGLDrv.h |
Include | #include "OpenGLDrv.h" |
Source | /Engine/Source/Runtime/OpenGLDrv/Private/OpenGLTexture.cpp |
virtual void &42; RHILockTextureCubeFace
&40;
FRHITextureCube &42; Texture,
uint32 FaceIndex,
uint32 ArrayIndex,
uint32 MipIndex,
EResourceLockMode LockMode,
uint32 & DestStride,
bool bLockWithinMiptail
&41;
Remarks
Locks an RHI texture's mip-map for read/write operations on the CPU pointer to the CPU accessible resource data
Parameters
Name | Description |
---|---|
Texture | the RHI texture resource to lock |
MipIndex | index of the mip level to lock |
LockMode | Whether to lock the texture read-only instead of write-only. |
DestStride | output to retrieve the textures row stride (pitch) |
bLockWithinMiptail | for platforms that support packed miptails allow locking of individual mip levels within the miptail |