GetOpenGLTextureFromRHITexture

Given a pointer to a RHI texture that was created by the OpenGL RHI, returns a pointer to the [FOpenGLTextureBase](API\Runtime\OpenGLDrv\FOpenGLTextureBase) it encapsulates.

Windows
MacOS
Linux

References

Module

OpenGLDrv

Header

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

Include

#include "OpenGLResources.h"

Syntax

FOpenGLTextureBase * GetOpenGLTextureFromRHITexture
(
    FRHITexture * Texture
)

Remarks

Given a pointer to a RHI texture that was created by the OpenGL RHI, returns a pointer to the FOpenGLTextureBase it encapsulates.

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