FOpenGLDynamicRHI::ResourceCast

If using a Proxy object return the contained GL object rather than the proxy itself.

Windows
MacOS
Linux

References

Module

OpenGLDrv

Header

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

Include

#include "OpenGLDrv.h"

Syntax

template<typename TRHIType>
static TEnableIf< TIsGLProxyObject< typename TOpenGLResourceTraits< TRHIType >::TConcreteType >::Value, typename TOpenGLResourceTraits< TRHIType >::TConcreteType::ContainedGLType * >::Type ResourceCast
(
    TRHIType * Resource
)

Remarks

If using a Proxy object return the contained GL object rather than the proxy itself.

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