GetPixelFormatFromString

String to enum (not case sensitive)

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderUtils.h

Include

#include "RenderUtils.h"

Source

/Engine/Source/Runtime/RenderCore/Private/RenderUtils.cpp

Syntax

EPixelFormat GetPixelFormatFromString
(
    const TCHAR * InPixelFormatStr
)

Remarks

String to enum (not case sensitive)

Parameters

Parameter

Description

InPixelFormatStr

e.g. "PF_B8G8R8A8", must not not be 0

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