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

Method Setup

Source/Engine/Graphics/Models/ModelInstanceEntry.cpp:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void ModelInstanceEntries::Setup(const Model* model)
75{
76 ASSERT(model && model->IsInitialized());
77 const int32 slotsCount = model->MaterialSlots.Count();
78 Setup(slotsCount);
79}
80
81void ModelInstanceEntries::Setup(const SkinnedModel* model)
82{

Callers 1

ModelDrawFunction · 0.45

Calls 4

ClearFunction · 0.70
ResizeFunction · 0.50
IsInitializedMethod · 0.45
CountMethod · 0.45

Tested by

no test coverage detected