structSLocalVertexPool// Local vertex info, new with 15.7
{
SRecHeaderRecHeader;// Header (opcode and size)
uint32numVerts;// Number of vertices contained in this record
uint32attributeMask;// 32 bit mask indicating what kind of vertex information is contained in this vertex list. Bits are ordered from left to right (bit 1 is leftmost).
};
classLocalVertexPoolRecord:publicAncillaryRecord
{
public:
enumAttributeMask
{
POSITION=0x80000000,// Has Position - indicates that each vertex in the list includes x, y, and z coordinates (three double-precision floating point values)
COLOR_INDEX=0x40000000,// Has Color Index- indicates that each vertex in the list includes a color value that is a color table index (one integer value)
RGB_COLOR=0x20000000,// Has RGB Color - indicates that each vertex in the list includes a color value that is a packed RGB color value (one integer value) NOTE: Bits 2 and 3 are mutually exclusive - a vertex can have either a color index or an RGB color value or neither, but cannot have both a color index and an RGB value.
NORMAL=0x10000000,// Has Normal - indicates that each vertex in the list includes a normal (three single-precision floating point values)
BASE_UV=0x08000000,// Has Base UV - indicates that each vertex in the list includes uv texture coordinates for the base texture (two single-precision floating point values)
UV_1=0x04000000,// Has UV 1 - indicates that each vertex in the list includes uv texture coordinates for layer 1 (two single-precision floating point values)
UV_2=0x02000000,// Has UV 2 - indicates that each vertex in the list includes uv texture coordinates for layer 2 (two single-precision floating point values)
UV_3=0x01000000,// Has UV 3 - indicates that each vertex in the list includes uv texture coordinates for layer 3 (two single-precision floating point values)
UV_4=0x00800000,// Has UV 4 - indicates that each vertex in the list includes uv texture coordinates for layer 4 (two single-precision floating point values)
UV_5=0x00400000,// Has UV 5 - indicates that each vertex in the list includes uv texture coordinates for layer 5 (two single-precision floating point values)
UV_6=0x00200000,// Has UV 6 - indicates that each vertex in the list includes uv texture coordinates for layer 6 (two single-precision floating point values)
UV_7=0x00100000// Has UV 7 - indicates that each vertex in the list includes uv texture coordinates for layer 7 (two single-precision floating point values)