MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set()

template<typename T >
requires ArithmeticData<T>
bool MayaFlux::Kakshya::CompositeInsertion::set ( size_t  index,
std::string_view  field_name,
T  value 
)
inline

Write an arithmetic field of an existing element.

Template Parameters
TExact type declared for the field.
Parameters
indexElement index.
field_nameField to write.
valueValue to store.
Returns
True on success; false for an invalid index, name, or type.

Definition at line 69 of file CompositeInsertion.hpp.

70 {
71 return m_array->set(index, field_name, value);
72 }
glm::vec3 value
uint32_t index
Definition VKDevice.cpp:122
bool set(size_t index, std::string_view field_name, T value)
Write an arithmetic field of an existing element.

References index, and value.