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

Function SetInt

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

Source from the content-addressed store, hash-verified

74 }
75
76 FORCE_INLINE void SetInt(int32 index, const int32 value)
77 {
78 ASSERT_LOW_LAYER(index * _stride < _data.Length());
79 _sampler.Write(_data.Get() + index * _stride, Float4((float)value));
80 }
81
82 FORCE_INLINE void SetFloat(int32 index, const float value)
83 {

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