Open 3D Engine GridMate API Reference  2205.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Public Types | Public Member Functions | Static Public Attributes | List of all members
GridMate::ConversionMarshaler< SerializedType, OriginalType > Class Template Reference

#include <UtilityMarshal.h>

Public Types

typedef OriginalType DataType
 

Public Member Functions

void Marshal (WriteBuffer &wb, const DataType &value) const
 
void Unmarshal (DataType &value, ReadBuffer &rb) const
 

Static Public Attributes

static constexpr AZStd::size_t MarshalSize = sizeof(SerializedType)
 

Detailed Description

template<class SerializedType, class OriginalType>
class GridMate::ConversionMarshaler< SerializedType, OriginalType >

Converts from one type to another for serialization. Note this will truncate data if the data value exceeds the serializable size.


The documentation for this class was generated from the following file: