Back to class index
| IndexBuffer::CompressIndicesSyntaxvoid IndexBuffer::CompressIndices(bool allow8BitIndices);Reallocates this IndexBuffer to minimize the number of bytes per index. If this index buffer only refers to at most 256 vertices and allow8BitIndices==true, reallocates this index buffer to utilize 8-bit indices. If only at most 65536 vertices are used, reallocates this index buffer to utilize 16-bit indices. Work in progress:Todo: in void IndexBuffer::CompressIndices(bool allow8BitIndices): Handle strip restart index depending on primitive type! Leave a Comment |