RHIGetDefaultResourceState

Get the best default resource state for the given buffer 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
(
    EBufferUsageFlags InUsage,
    bool bInHasInitialData
)

Remarks

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

Get the best default resource state for the given buffer 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