public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); m_format.Write(s, bw); bw.WriteInt32(m_elementOffsets_0); bw.WriteInt32(m_elementOffsets_1); bw.WriteInt32(m_elementOffsets_2); bw.WriteInt32(m_elementOffsets_3); bw.WriteInt32(m_elementOffsets_4); bw.WriteInt32(m_elementOffsets_5); bw.WriteInt32(m_elementOffsets_6); bw.WriteInt32(m_elementOffsets_7); bw.WriteInt32(m_elementOffsets_8); bw.WriteInt32(m_elementOffsets_9); bw.WriteInt32(m_elementOffsets_10); bw.WriteInt32(m_elementOffsets_11); bw.WriteInt32(m_elementOffsets_12); bw.WriteInt32(m_elementOffsets_13); bw.WriteInt32(m_elementOffsets_14); bw.WriteInt32(m_elementOffsets_15); bw.WriteInt32(m_elementOffsets_16); bw.WriteInt32(m_elementOffsets_17); bw.WriteInt32(m_elementOffsets_18); bw.WriteInt32(m_elementOffsets_19); bw.WriteInt32(m_elementOffsets_20); bw.WriteInt32(m_elementOffsets_21); bw.WriteInt32(m_elementOffsets_22); bw.WriteInt32(m_elementOffsets_23); bw.WriteInt32(m_elementOffsets_24); bw.WriteInt32(m_elementOffsets_25); bw.WriteInt32(m_elementOffsets_26); bw.WriteInt32(m_elementOffsets_27); bw.WriteInt32(m_elementOffsets_28); bw.WriteInt32(m_elementOffsets_29); bw.WriteInt32(m_elementOffsets_30); bw.WriteInt32(m_elementOffsets_31); bw.WriteUInt32(0); s.WriteByteArray(bw, m_memory); bw.WriteInt32(m_vertexStride); bw.WriteBoolean(m_locked); bw.WriteUInt16(0); bw.WriteByte(0); bw.WriteInt32(m_numVertices); bw.WriteBoolean(m_isBigEndian); bw.WriteBoolean(m_isSharable); bw.WriteUInt16(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); m_vertexFormat.Write(s, bw); bw.WriteUInt32(0); s.WriteClassArray<hkMultipleVertexBufferLockedElement>(bw, m_lockedElements); s.WriteClassPointer<hkMemoryMeshVertexBuffer>(bw, m_lockedBuffer); s.WriteClassArray<hkMultipleVertexBufferElementInfo>(bw, m_elementInfos); s.WriteClassArray<hkMultipleVertexBufferVertexBufferInfo>(bw, m_vertexBufferInfos); bw.WriteInt32(m_numVertices); bw.WriteBoolean(m_isLocked); bw.WriteUInt16(0); bw.WriteByte(0); bw.WriteUInt32(m_updateCount); bw.WriteBoolean(m_writeLock); bw.WriteBoolean(m_isSharable); bw.WriteBoolean(m_constructionComplete); bw.WriteByte(0); }