|
3es
0.7
|
MeshResource creation message. More...
#include <3esmeshmessages.h>
Public Types | |
| enum | { MessageId = MmtCreate } |
| ID for this message. | |
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 |
| Mesh resource ID. | |
| uint32_t | vertexCount |
| Total count. | |
| uint32_t | indexCount |
| Total index count. | |
| uint8_t | drawType |
Topology: see DrawType. | |
| ObjectAttributes | attributes |
| Core attributes. | |
MeshResource creation message.
|
inline |
Read this message from reader.
| reader | The data source. |
References drawType, indexCount, meshId, tes::ObjectAttributes::read(), tes::PacketReader::readElement(), and vertexCount.
|
inline |
Write this message to writer.
| writer | The target buffer. |
References drawType, indexCount, meshId, vertexCount, tes::ObjectAttributes::write(), and tes::PacketWriter::writeElement().