Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Net/RepLayout.h |
Include |
#include "Net/RepLayout.h" |
Source |
/Engine/Source/Runtime/Engine/Private/RepLayout.cpp |
FRepStateStaticBuffer CreateShadowBuffer
(
const FConstRepObjectDataBuffer Source
) const
Creates and initialize a new Shadow Buffer.
Shadow Data / Shadow States are used to cache property data so that the Object's state can be compared between frames to see if any properties have changed. They are also used on clients to keep track of RepNotify state.
This includes:
Allocating memory for all Properties in the class.
Constructing instances of each Property.
Copying the values of the Properties from given object.
Parameter |
Description |
---|---|
Source |
Memory buffer storing object property data. |