FRawStaticIndexBuffer::TrySetAllowCPUAccess

Copy everything, keeping reference to the same RHI resources.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/RawIndexBuffer.h

Include

#include "RawIndexBuffer.h"

Syntax

bool TrySetAllowCPUAccess
(
    bool bAllowCPUAccess
)

Remarks

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

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