Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/RHIGetDefaultResourceState
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHICommandList.h |
| Include | #include "RHICommandList.h" |
| Source | /Engine/Source/Runtime/RHI/Private/RHIUtilities.cpp |
ERHIAccess RHIGetDefaultResourceState
(
EBufferUsageFlags InUsage,
bool bInHasInitialData
)
Remarks
Get the best default resource state for the given buffer creation flags