// * // * Gives an estimation of the number of indices needed for this triangle buffer. // * If this function is called several times, it means an extra indices count, not an absolute measure. // public void estimateIndexCount(uint indexCount) { mEstimatedIndexCount += (int)indexCount; //mIndices.Capacity = mEstimatedIndexCount; mIndices.reserve(mEstimatedIndexCount); }
// * // * Gives an estimation of the number of vertices need for this triangle buffer. // * If this function is called several times, it means an extra vertices count, not an absolute measure. // public void estimateVertexCount(uint vertexCount) { mEstimatedVertexCount += (int)vertexCount; //mVertices.Capacity = mEstimatedVertexCount; mVertices.reserve(mEstimatedVertexCount); }