Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FRawStaticIndexBuffer
Description
Copy everything, keeping reference to the same RHI resources. Returns true if input value for bAllowCPUAccess will be honored:
- if bAllowCPUAccess is true then no indices have already been cached or IndexStorage is not empty
- or if bAllowCPUAccess is false
| Name | TrySetAllowCPUAccess |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/RawIndexBuffer.h |
| Include Path | #include "RawIndexBuffer.h" |
bool TrySetAllowCPUAccess
(
bool bAllowCPUAccess
)