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

Function Draw

Source/Engine/Content/Assets/SkinnedModel.h:65–69  ·  view source on GitHub ↗

Draws all the meshes from the model LOD. The rendering context. The packed drawing info data. The LOD transition dither factor.

Source from the content-addressed store, hash-verified

63 /// <param name="info">The packed drawing info data.</param>
64 /// <param name="lodDitherFactor">The LOD transition dither factor.</param>
65 FORCE_INLINE void Draw(const RenderContext& renderContext, const SkinnedMesh::DrawInfo& info, float lodDitherFactor) const
66 {
67 for (int32 i = 0; i < Meshes.Count(); i++)
68 Meshes.Get()[i].Draw(renderContext, info, lodDitherFactor);
69 }
70
71 /// <summary>
72 /// Draws all the meshes from the model LOD.

Callers

nothing calls this directly

Calls 3

CountMethod · 0.45
DrawMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected