- unsigned int indexData[10] = { 0, 1, 1, 2, 2, 3, 3, 0 };
- Property::Map indexFormat;
- indexFormat[INDEX_NAME] = Property::INTEGER;
- PropertyBuffer indices = PropertyBuffer::New( indexFormat );
- indices.SetData( indexData, sizeof(indexData)/sizeof(indexData[0]) );
+ unsigned short indexData[10] = { 0, 1, 1, 2, 2, 3, 3, 0 };