Equalizer
1.4.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 * | loadModel (co::NodePtr master, co::LocalNodePtr localNode, const eq::uint128_t &modelID) |
VertexBufferDist (const mesh::VertexBufferRoot *root) | |
void | registerTree (co::LocalNodePtr node) |
void | deregisterTree () |
mesh::VertexBufferRoot * | loadModel (co::NodePtr master, co::LocalNodePtr localNode, const eq::uint128_t &modelID) |
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 178 of file eqPly/vertexBufferDist.cpp.
References co::DataIStream::getMaster().
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.
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.
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 144 of file eqPly/vertexBufferDist.cpp.