Equalizer
1.2.1
|
co::Object to distribute a model, holds a VertexBufferBase node. More...
#include <vertexBufferDist.h>
Public Member Functions | |
VertexBufferDist (const mesh::VertexBufferRoot *root) | |
void | registerTree (co::LocalNodePtr node) |
void | deregisterTree () |
mesh::VertexBufferRoot * | mapModel (co::LocalNodePtr node, const eq::uint128_t &modelID) |
void | unmapTree () |
VertexBufferDist (const mesh::VertexBufferRoot *root) | |
void | registerTree (co::LocalNodePtr node) |
void | deregisterTree () |
mesh::VertexBufferRoot * | mapModel (co::LocalNodePtr node, const eq::uint128_t &modelID) |
void | unmapTree () |
Protected Member Functions | |
VertexBufferDist (const mesh::VertexBufferRoot *root, const mesh::VertexBufferBase *node) | |
virtual void | getInstanceData (co::DataOStream &os) |
Serialize all instance information of this distributed object. | |
virtual void | applyInstanceData (co::DataIStream &is) |
Deserialize the instance data. | |
VertexBufferDist (const mesh::VertexBufferRoot *root, const mesh::VertexBufferBase *node) | |
virtual void | getInstanceData (co::DataOStream &os) |
Serialize all instance information of this distributed object. | |
virtual void | applyInstanceData (co::DataIStream &is) |
Deserialize the instance data. |
co::Object to distribute a model, holds a VertexBufferBase node.
Definition at line 41 of file eqPly/vertexBufferDist.h.
void eqPly::VertexBufferDist::applyInstanceData | ( | co::DataIStream & | is | ) | [protected, virtual] |
Deserialize the instance data.
This method is called during object mapping to populate slave instances with the master object's data.
is | the input stream. |
Implements co::Object.
Definition at line 175 of file eqPly/vertexBufferDist.cpp.
References co::LocalNode::mapObjectNB(), co::LocalNode::mapObjectSync(), and co::base::uint128_t::ZERO.
virtual void eqPly::VertexBufferDist::applyInstanceData | ( | co::DataIStream & | is | ) | [protected, virtual] |
Deserialize the instance data.
This method is called during object mapping to populate slave instances with the master object's data.
is | the input stream. |
Implements co::Object.
void eqPly::VertexBufferDist::getInstanceData | ( | co::DataOStream & | os | ) | [protected, virtual] |
Serialize all instance information of this distributed object.
os | The output stream. |
Implements co::Object.
Definition at line 142 of file eqPly/vertexBufferDist.cpp.
References co::base::uint128_t::ZERO.
virtual void eqPly::VertexBufferDist::getInstanceData | ( | co::DataOStream & | os | ) | [protected, virtual] |
Serialize all instance information of this distributed object.
os | The output stream. |
Implements co::Object.