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

Function SetFloat

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

Source from the content-addressed store, hash-verified

80 }
81
82 FORCE_INLINE void SetFloat(int32 index, const float value)
83 {
84 ASSERT_LOW_LAYER(index * _stride < _data.Length());
85 _sampler.Write(_data.Get() + index * _stride, Float4(value));
86 }
87
88 FORCE_INLINE void SetFloat2(int32 index, const Float2& value)
89 {

Callers

nothing calls this directly

Calls 4

Float4Class · 0.85
LengthMethod · 0.45
WriteMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected