TOpenGLTexture::Lock

Locks one of the texture's mip-maps.

Windows
MacOS
Linux

References

Module

OpenGLDrv

Header

/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLResources.h

Include

#include "OpenGLResources.h"

Source

/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLTexture.cpp

Syntax

void * Lock
(
    uint32 MipIndex,
    uint32 ArrayIndex,
    EResourceLockMode LockMode,
    uint32 & DestStride
)

Remarks

Locks one of the texture's mip-maps.

Returns

A pointer to the specified texture data.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss