MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Clear

Method Clear

Source/Engine/Graphics/Models/ModelData.cpp:10–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "Engine/Serialization/WriteStream.h"
9
10void MeshData::Clear()
11{
12 MaterialSlotIndex = 0;
13 NodeIndex = 0;
14 Positions.Clear();
15 Indices.Clear();
16 UVs.Clear();
17 Normals.Clear();
18 Tangents.Clear();
19 BitangentSigns.Clear();
20 Colors.Clear();
21 BlendIndices.Clear();
22 BlendWeights.Clear();
23 BlendShapes.Clear();
24}
25
26void MeshData::EnsureCapacity(int32 vertices, int32 indices, bool preserveContents, bool withColors, bool withSkin, int32 texcoords)
27{

Callers 11

ClearVertexLayoutCacheFunction · 0.45
IsValidShaderCacheFunction · 0.45
BindDrawDataMethod · 0.45
RequestWorkMethod · 0.45
~GPUTasksContextMethod · 0.45
InitFunction · 0.45
ClearFunction · 0.45
FindPositionsMethod · 0.45
GenerateTangentsMethod · 0.45
ReleaseMethod · 0.45
ReleaseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected