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

Method GetVertexLayout

Source/Engine/Graphics/Models/MeshBase.cpp:459–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457}
458
459GPUVertexLayout* MeshBase::GetVertexLayout() const
460{
461 return GPUVertexLayout::Get(Span<GPUBuffer*>(_vertexBuffers, MODEL_MAX_VB));
462}
463
464bool MeshBase::Init(uint32 vertices, uint32 triangles, const Array<const void*, FixedAllocation<MODEL_MAX_VB>>& vbData, const void* ibData, bool use16BitIndexBuffer, Array<GPUVertexLayout*, FixedAllocation<MODEL_MAX_VB>> vbLayout)
465{

Callers 8

GetLayoutMethod · 0.80
GetMethod · 0.80
RunDeformersMethod · 0.80
DownloadDataGPUMethod · 0.80
DownloadDataGPUAsyncMethod · 0.80
SaveLODMethod · 0.80
SetupSkeletonMethod · 0.80
CookCollisionMethod · 0.80

Calls 1

GetFunction · 0.50

Tested by

no test coverage detected