UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SkeletalMeshVertexBuffer.cpp File Reference

Macros

#define ALLOCATE_VERTEX_DATA_TEMPLATE(VertexDataType, NumUVs)
 

Functions

FArchiveoperator<< (FArchive &Ar, FDummySkeletalMeshVertexBuffer &VertexBuffer)
 

Macro Definition Documentation

◆ ALLOCATE_VERTEX_DATA_TEMPLATE

#define ALLOCATE_VERTEX_DATA_TEMPLATE (   VertexDataType,
  NumUVs 
)
Value:
switch(NumUVs) \
{ \
case 1: VertexData = new TSkeletalMeshVertexData< VertexDataType<1> >(bNeedsCPUAccess); break; \
case 2: VertexData = new TSkeletalMeshVertexData< VertexDataType<2> >(bNeedsCPUAccess); break; \
case 3: VertexData = new TSkeletalMeshVertexData< VertexDataType<3> >(bNeedsCPUAccess); break; \
case 4: VertexData = new TSkeletalMeshVertexData< VertexDataType<4> >(bNeedsCPUAccess); break; \
default: UE_LOG(LogSkeletalMesh, Fatal,TEXT("Invalid number of texture coordinates")); \
} \
#define TEXT(x)
Definition Platform.h:1272
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UE_LOG(CategoryName, Verbosity, Format,...)
Definition LogMacros.h:270
Definition SkeletalMeshVertexBuffer.h:140

Function Documentation

◆ operator<<()

FArchive & operator<< ( FArchive Ar,
FDummySkeletalMeshVertexBuffer VertexBuffer 
)

Serializer for this class

Parameters
Ar- archive to serialize to
B- data to serialize