|
template<AZStd::size_t NUM_ELEMENTS2, AZStd::size_t NUM_BYTES2, int32_t MIN_VALUE2, int32_t MAX_VALUE2> |
struct | QuantizedValuesConversionHelper |
|
◆ QuantizedValues() [1/2]
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Copy construct from same type.
- Parameters
-
value | instance to construct from |
◆ QuantizedValues() [2/2]
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Copy construct from float.
- Parameters
-
value | vector value to construct from |
◆ GetQuantizedIntegralValues()
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Retrieves the quantized integral value used during serialization of this QuantizedValues instance.
- Returns
- the quantized integral value used during serialization of this QuantizedValues instance
◆ operator ValueType()
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Const underlying type operator.
- Returns
- underlying value
◆ operator!=() [1/2]
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Inequality operator.
- Parameters
-
rhs | base type value to compare against |
- Returns
- boolean true if this != rhs
◆ operator!=() [2/2]
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Inequality operator.
- Parameters
-
rhs | base type value to compare against |
- Returns
- boolean true if this != rhs
◆ operator*()
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Product operator.
- Parameters
-
- Returns
- result of operation
◆ operator*=()
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Product operator.
- Parameters
-
- Returns
- result of operation
◆ operator+()
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Sum operator.
- Parameters
-
- Returns
- result of operation
◆ operator+=()
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Sum operator.
- Parameters
-
- Returns
- result of operation
◆ operator-()
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Difference operator.
- Parameters
-
- Returns
- result of operation
◆ operator-=()
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Difference operator.
- Parameters
-
- Returns
- result of operation
◆ operator/()
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Division operator.
- Parameters
-
- Returns
- result of operation
◆ operator/=()
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Division operator.
- Parameters
-
- Returns
- result of operation
◆ operator=() [1/2]
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Assignment from same type.
- Parameters
-
rhs | instance to assign from |
◆ operator=() [2/2]
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Assignment from value value.
- Parameters
-
◆ operator==() [1/2]
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Equality operator.
- Parameters
-
rhs | base type value to compare against |
- Returns
- boolean true if this == rhs
◆ operator==() [2/2]
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Equality operator.
- Parameters
-
rhs | base type value to compare against |
- Returns
- boolean true if this == rhs
◆ Serialize()
template<AZStd::size_t NUM_ELEMENTS, AZStd::size_t NUM_BYTES, int32_t MIN_VALUE, int32_t MAX_VALUE>
Base serialize method for all serializable structures or classes to implement.
- Parameters
-
serializer | ISerializer instance to use for serialization |
- Returns
- boolean true for success, false for serialization failure
The documentation for this class was generated from the following files:
- Code/Framework/AzNetworking/AzNetworking/Utilities/QuantizedValues.h
- Code/Framework/AzNetworking/AzNetworking/Utilities/QuantizedValues.inl