3es  0.7
tes::MeshComponentMessage Struct Reference

Message structure for adding vertices, colours, indices, or UVs. More...

#include <3esmeshmessages.h>

Public Member Functions

bool read (PacketReader &reader)
 Read this message from reader. More...
 
bool write (PacketWriter &writer) const
 Write this message to writer. More...
 

Public Attributes

uint32_t meshId
 
uint32_t offset
 
uint32_t reserved
 
uint16_t count
 

Detailed Description

Message structure for adding vertices, colours, indices, or UVs.

Member Function Documentation

◆ read()

bool tes::MeshComponentMessage::read ( PacketReader reader)
inline

Read this message from reader.

Parameters
readerThe data source.
Returns
True on success.

References tes::MeshCreateMessage::meshId, and tes::PacketReader::readElement().

◆ write()

bool tes::MeshComponentMessage::write ( PacketWriter writer) const
inline

Write this message to writer.

Parameters
writerThe target buffer.
Returns
True on success.

References tes::MeshCreateMessage::meshId, and tes::PacketWriter::writeElement().


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