#include <vman.h>
Collaboration diagram for vmanLayer:Public Attributes | |
| const char * | name |
| int | voxelSize |
| int | revision |
| void(* | serializeFn )(const void *source, void *destination, int count) |
| void(* | deserializeFn )(const void *source, void *destination, int count) |
| const char* name |
| void(* serializeFn)(const void *source, void *destination, int count) |
Used to convert voxels in a portable representation.
(e.g. when saving them to disk) Serialize to little endian, since most target machines use it and results in a noop there. Amount of voxels that are affected. Length of source and destination is computed by bytes*count.
| void(* deserializeFn)(const void *source, void *destination, int count) |
Used to convert voxels from their portable representation.
(e.g. when loading them from disk) Deserialize from little endian, since most target machines use it and results in a noop there. Amount of voxels that are affected. Length of source and destination is computed by bytes*count.