#include <Runtime/ECS/Public/SplitField.h>
template<FieldSplittable T, FieldWidth WIDTH>
SplitField struct
Public static variables
- static size_t PartCount constexpr
Constructors, destructors, conversion operators
-
template<typename... TProxy>SplitField(TProxy&... fields)
- The fields, in the order the type's ToFields writes them.
Public functions
-
auto Load() const -> FORCE_
INLINE T - The value, put back together.
-
auto operator T() const -> FORCE_
INLINE -
auto operator=(const T& value) -> FORCE_
INLINE SplitField& - Split
valueacross the fields. Each field is marked dirty as any written field is. -
template<typename TOther>auto operator+=(const TOther& other) -> FORCE_
INLINE SplitField& -
template<typename TOther>auto operator-=(const TOther& other) -> FORCE_
INLINE SplitField& -
template<typename TOther>auto operator*=(const TOther& other) -> FORCE_
INLINE SplitField& -
template<typename TOther>auto operator/=(const TOther& other) -> FORCE_
INLINE SplitField&
Public variables
- std::array<IntProxy<WIDTH>*, PartCount> Fields