10#if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_4
11#include "NaniteDefinitions.h"
122 UVs.SetNum(NumTexCoords);
123 for (
int32 TexCoord = 0; TexCoord < NumTexCoords; ++TexCoord)
125 UVs[TexCoord].Empty(Slack);
236 View.BoneIndices.Reserve(
InVertexData.BoneIndices.Num());
245 View.BoneIndices.Add({});
249 View.BoneWeights.Reserve(
InVertexData.BoneWeights.Num());
258 View.BoneWeights.Add({});
290 View.BoneIndices.Reserve(
InVertexData.BoneIndices.Num());
299 View.BoneIndices.Add({});
303 View.BoneWeights.Reserve(
InVertexData.BoneWeights.Num());
312 View.BoneWeights.Add({});
FConstMeshBuildVertexView MakeConstMeshBuildVertexView(const TConstArrayView< FStaticMeshBuildVertex > &InVertices)
Definition Components.h:205
FStaticMeshBuildVertex MakeStaticMeshVertex(const FMeshBuildVertexView &View, int32 Index)
Definition Components.h:335
FMeshBuildVertexView MakeMeshBuildVertexView(TArray< FStaticMeshBuildVertex > &InVertices)
Definition Components.h:185
@ MAX_STATIC_TEXCOORDS
Definition Components.h:22
void RemoveInvalidVertexColor(FMeshBuildVertexView &VertexView)
Definition Components.h:130
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
TStridedView< ElementType > MakeStridedView(int32 BytesBetweenElements, ElementType *FirstElement, int32 Count)
Definition StridedView.h:177
TConstStridedView< ElementType > MakeConstStridedView(int32 BytesBetweenElements, const ElementType *FirstElement, int32 Count)
Definition StridedView.h:183
Definition RHIResources.h:3304
void SetNum(SizeType NewNum, EAllowShrinking AllowShrinking=UE::Core::Private::AllowShrinkingByDefault< AllocatorType >())
Definition Array.h:2308
void Empty(SizeType Slack=0)
Definition Array.h:2273
Definition ContainerAllocationPolicies.h:1276
Definition ContainerAllocationPolicies.h:894
Definition StridedView.h:44
UE_FORCEINLINE_HINT SizeType Num() const
Definition StridedView.h:93
U16 Index
Definition radfft.cpp:71
static CORE_API const FColor White
Definition Color.h:749
Definition Components.h:72
TStridedView< const FVector3f > TangentX
Definition Components.h:74
TStridedView< const FVector3f > TangentY
Definition Components.h:75
TStridedView< const FColor > Color
Definition Components.h:80
TStridedView< const FVector3f > TangentZ
Definition Components.h:76
TArray< TStridedView< const FVector2f >, TInlineAllocator< 1 > > UVs
Definition Components.h:79
TArray< TStridedView< const uint16 > > BoneIndices
Definition Components.h:77
TArray< TStridedView< const uint16 > > BoneWeights
Definition Components.h:78
TStridedView< const FVector3f > Position
Definition Components.h:73
Definition Components.h:96
void Empty(int32 Slack=0, int32 NumTexCoords=0, int32 NumBoneInfluences=0)
Definition Components.h:106
TArray< TArray< FVector2f >, TInlineAllocator< 1 > > UVs
Definition Components.h:103
TArray< FColor > Color
Definition Components.h:104
TArray< FVector3f > Position
Definition Components.h:97
TArray< FVector3f > TangentX
Definition Components.h:98
TArray< FVector3f > TangentZ
Definition Components.h:100
TArray< FVector3f > TangentY
Definition Components.h:99
TArray< TArray< uint16 > > BoneIndices
Definition Components.h:101
TArray< TArray< uint16 > > BoneWeights
Definition Components.h:102
Definition Components.h:84
TStridedView< FColor > Color
Definition Components.h:92
TArray< TStridedView< uint16 > > BoneIndices
Definition Components.h:89
TStridedView< FVector3f > TangentY
Definition Components.h:87
TArray< TStridedView< FVector2f >, TInlineAllocator< 1 > > UVs
Definition Components.h:91
TStridedView< FVector3f > Position
Definition Components.h:85
TStridedView< FVector3f > TangentZ
Definition Components.h:88
TArray< TStridedView< uint16 > > BoneWeights
Definition Components.h:90
TStridedView< FVector3f > TangentX
Definition Components.h:86
Definition Components.h:26
FColor Color
Definition Components.h:34
FVector3f Position
Definition Components.h:27
FVector3f TangentZ
Definition Components.h:31
FVector3f TangentX
Definition Components.h:29
FVector2f UVs[MAX_STATIC_TEXCOORDS]
Definition Components.h:33
FVector3f TangentY
Definition Components.h:30
Definition Components.h:38
int8 LightMapCoordinateIndex
Definition Components.h:65
uint32 ColorIndexMask
Definition Components.h:64
TArray< FVertexStreamComponent, TFixedAllocator< MAX_STATIC_TEXCOORDS/2 > > TextureCoordinates
Definition Components.h:46
FVertexStreamComponent ColorComponent
Definition Components.h:52
uint8 LODLightmapDataIndex
Definition Components.h:67
FRHIShaderResourceView * TextureCoordinatesSRV
Definition Components.h:59
FVertexStreamComponent TangentBasisComponents[2]
Definition Components.h:43
uint8 NumTexCoords
Definition Components.h:66
FVertexStreamComponent LightMapCoordinateComponent
Definition Components.h:49
FRHIShaderResourceView * TangentsSRV
Definition Components.h:56
FRHIShaderResourceView * PositionComponentSRV
Definition Components.h:54
FVertexStreamComponent PositionComponent
Definition Components.h:40
FRHIShaderResourceView * ColorComponentsSRV
Definition Components.h:62
Definition VertexStreamComponent.h:22
static CORE_API const TVector2< float > ZeroVector
Definition Vector2D.h:63