UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FIndexArrayView Class Reference

#include <RawIndexBuffer.h>

Public Member Functions

 FIndexArrayView ()
 
 FIndexArrayView (const void *InIndexData, int32 InNumIndices, bool bIn32Bit)
 
uint32 operator[] (int32 i)
 
uint32 operator[] (int32 i) const
 
int32 Num () const
 

Detailed Description

An array view in to a static index buffer. Allows access to the underlying indices regardless of their type without a copy.

Constructor & Destructor Documentation

◆ FIndexArrayView() [1/2]

FIndexArrayView::FIndexArrayView ( )
inline

Default constructor.

◆ FIndexArrayView() [2/2]

FIndexArrayView::FIndexArrayView ( const void InIndexData,
int32  InNumIndices,
bool  bIn32Bit 
)
inline

Initialization constructor.

Parameters
InIndexDataA pointer to untyped index data.
InNumIndicesThe number of indices stored in the untyped index data.
bIn32BitTrue if the data is stored as an array of uint32, false for uint16.

Member Function Documentation

◆ Num()

int32 FIndexArrayView::Num ( ) const
inline

◆ operator[]() [1/2]

uint32 FIndexArrayView::operator[] ( int32  i)
inline

Common array access semantics.

◆ operator[]() [2/2]

uint32 FIndexArrayView::operator[] ( int32  i) const
inline

The documentation for this class was generated from the following file: