RHIGetDefaultResourceState

Get the best default resource state for the given texture creation flags

Windows
MacOS
Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHIUtilities.h

Include

#include "RHIUtilities.h"

Source

/Engine/Source/Runtime/RHI/Private/RHIUtilities.cpp

Syntax

ERHIAccess RHIGetDefaultResourceState
(
    ETextureCreateFlags InUsage,
    bool bInHasInitialData
)

Remarks

Get the best default resource state for the given texture creation flags

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