Public Member Functions | Protected Member Functions | Private Attributes | List of all members
FRuntimeMeshIndicesAccessor Class Reference

#include <RuntimeMeshBuilder.h>

Inheritance diagram for FRuntimeMeshIndicesAccessor:
Inheritance graph
[legend]

Public Member Functions

int32 AddIndex (int32 NewIndex)
 
int32 AddTriangle (int32 Index0, int32 Index1, int32 Index2)
 
void EmptyIndices (int32 Slack=0)
 
 FRuntimeMeshIndicesAccessor (bool bIn32BitIndices, TArray< uint8 > *IndexStreamData, bool bInIsReadonly=false)
 
int32 GetIndex (int32 Index) const
 
const bool IsReadonly () const
 
bool IsUsing32BitIndices () const
 
int32 NumIndices () const
 
void SetIndex (int32 Index, int32 Value)
 
bool SetIndices (const int32 InsertAtIndex, const TArray< uint16 > &Indices, const int32 Count, const bool bSizeToFit)
 
bool SetIndices (const int32 InsertAtIndex, const uint16 *const Indices, const int32 Count, const bool bSizeToFit)
 
bool SetIndices (const int32 InsertAtIndex, const TArray< int32 > &Indices, const int32 Count, const bool bSizeToFit)
 
bool SetIndices (const int32 InsertAtIndex, const int32 *const Indices, const int32 Count, const bool bSizeToFit)
 
void SetNumIndices (int32 NewNum)
 
virtual ~FRuntimeMeshIndicesAccessor ()
 

Protected Member Functions

 FRuntimeMeshIndicesAccessor (TArray< uint8 > *IndexStreamData, bool bInIsReadonly)
 
FORCEINLINE int32 GetIndexStride () const
 
void Initialize (bool bIn32BitIndices)
 
void Unlink ()
 

Private Attributes

bool b32BitIndices
 
bool bIsInitialized
 
bool bIsReadonly
 
TArray< uint8 > * IndexStream
 

Detailed Description

Definition at line 384 of file RuntimeMeshBuilder.h.

Constructor & Destructor Documentation

FRuntimeMeshIndicesAccessor::FRuntimeMeshIndicesAccessor ( bool  bIn32BitIndices,
TArray< uint8 > *  IndexStreamData,
bool  bInIsReadonly = false 
)

Definition at line 566 of file RuntimeMeshBuilder.cpp.

FRuntimeMeshIndicesAccessor::~FRuntimeMeshIndicesAccessor ( )
virtual

Definition at line 574 of file RuntimeMeshBuilder.cpp.

FRuntimeMeshIndicesAccessor::FRuntimeMeshIndicesAccessor ( TArray< uint8 > *  IndexStreamData,
bool  bInIsReadonly 
)
protected

Definition at line 559 of file RuntimeMeshBuilder.cpp.

Member Function Documentation

int32 FRuntimeMeshIndicesAccessor::AddIndex ( int32  NewIndex)

Definition at line 606 of file RuntimeMeshBuilder.cpp.

int32 FRuntimeMeshIndicesAccessor::AddTriangle ( int32  Index0,
int32  Index1,
int32  Index2 
)

Definition at line 616 of file RuntimeMeshBuilder.cpp.

void FRuntimeMeshIndicesAccessor::EmptyIndices ( int32  Slack = 0)

Definition at line 592 of file RuntimeMeshBuilder.cpp.

int32 FRuntimeMeshIndicesAccessor::GetIndex ( int32  Index) const

Definition at line 628 of file RuntimeMeshBuilder.cpp.

FORCEINLINE int32 FRuntimeMeshIndicesAccessor::GetIndexStride ( ) const
inlineprotected

Definition at line 422 of file RuntimeMeshBuilder.h.

void FRuntimeMeshIndicesAccessor::Initialize ( bool  bIn32BitIndices)
protected

Definition at line 578 of file RuntimeMeshBuilder.cpp.

const bool FRuntimeMeshIndicesAccessor::IsReadonly ( ) const
inline

Definition at line 404 of file RuntimeMeshBuilder.h.

bool FRuntimeMeshIndicesAccessor::IsUsing32BitIndices ( ) const
inline

Definition at line 402 of file RuntimeMeshBuilder.h.

int32 FRuntimeMeshIndicesAccessor::NumIndices ( ) const

Definition at line 586 of file RuntimeMeshBuilder.cpp.

void FRuntimeMeshIndicesAccessor::SetIndex ( int32  Index,
int32  Value 
)

Definition at line 641 of file RuntimeMeshBuilder.cpp.

bool FRuntimeMeshIndicesAccessor::SetIndices ( const int32  InsertAtIndex,
const TArray< uint16 > &  Indices,
const int32  Count,
const bool  bSizeToFit 
)

Definition at line 655 of file RuntimeMeshBuilder.cpp.

bool FRuntimeMeshIndicesAccessor::SetIndices ( const int32  InsertAtIndex,
const uint16 *const  Indices,
const int32  Count,
const bool  bSizeToFit 
)

Definition at line 661 of file RuntimeMeshBuilder.cpp.

bool FRuntimeMeshIndicesAccessor::SetIndices ( const int32  InsertAtIndex,
const TArray< int32 > &  Indices,
const int32  Count,
const bool  bSizeToFit 
)

Definition at line 682 of file RuntimeMeshBuilder.cpp.

bool FRuntimeMeshIndicesAccessor::SetIndices ( const int32  InsertAtIndex,
const int32 *const  Indices,
const int32  Count,
const bool  bSizeToFit 
)

Definition at line 688 of file RuntimeMeshBuilder.cpp.

void FRuntimeMeshIndicesAccessor::SetNumIndices ( int32  NewNum)

Definition at line 599 of file RuntimeMeshBuilder.cpp.

void FRuntimeMeshIndicesAccessor::Unlink ( )
inlineprotected

Definition at line 424 of file RuntimeMeshBuilder.h.

Member Data Documentation

bool FRuntimeMeshIndicesAccessor::b32BitIndices
private

Definition at line 389 of file RuntimeMeshBuilder.h.

bool FRuntimeMeshIndicesAccessor::bIsInitialized
private

Definition at line 386 of file RuntimeMeshBuilder.h.

bool FRuntimeMeshIndicesAccessor::bIsReadonly
private

Definition at line 387 of file RuntimeMeshBuilder.h.

TArray<uint8>* FRuntimeMeshIndicesAccessor::IndexStream
private

Definition at line 388 of file RuntimeMeshBuilder.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:31