FRawStaticIndexBuffer::GetArrayView

Retrieves an array view in to the index buffer.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "RawIndexBuffer.h"

Source

/Engine/Source/Runtime/Engine/Private/RawIndexBuffer.cpp

Syntax

FIndexArrayView GetArrayView() const

Remarks

Retrieves an array view in to the index buffer. The array view allows code to retrieve indices as 32-bit regardless of how they are stored internally without a copy. The array view is valid only if: The buffer was created with NeedsCPUAccess = true OR the resource has not yet been initialized AND SetIndices has not been called since.

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