FOpenGLDynamicRHI::RHIPreferredPixelFormatHint

Return preferred pixel format if given format is unsupported.

Windows
MacOS
Linux

Override Hierarchy

FDynamicRHI::RHIPreferredPixelFormatHint()

FOpenGLDynamicRHI::RHIPreferredPixelFormatHint()

References

Module

OpenGLDrv

Header

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

Include

#include "OpenGLDrv.h"

Source

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

Syntax

virtual EPixelFormat RHIPreferredPixelFormatHint
(
    EPixelFormat PreferredPixelFormat
)

Remarks

Return preferred pixel format if given format is unsupported.

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