PlatformOpenGLContextValid

Returns true, if current thread has a valid OpenGL context selected, false otherwise.

Windows
MacOS
Linux

References

Module

OpenGLDrv

Header

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

Include

#include "OpenGLUtil.h"

Source

/Engine/Source/Runtime/OpenGLDrv/Private/Lumin/LuminOpenGL.cpp

Syntax

bool PlatformOpenGLContextValid()

Remarks

Returns true, if current thread has a valid OpenGL context selected, false otherwise. Useful for debugging.

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