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

Function GetFloat

Source/Engine/Graphics/Models/MeshAccessor.h:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 }
51
52 FORCE_INLINE float GetFloat(int32 index) const
53 {
54 ASSERT_LOW_LAYER(index * _stride < _data.Length());
55 return _sampler.Read(_data.Get() + index * _stride).X;
56 }
57
58 FORCE_INLINE Float2 GetFloat2(int32 index) const
59 {

Callers

nothing calls this directly

Calls 3

LengthMethod · 0.45
ReadMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected