Class MeshOptimizerIndexDecoder
Namespace: ValveResourceFormat.Compression
Assembly: ValveResourceFormat.dll
Provides decoding functionality for mesh optimizer index buffers.
csharp
public static class MeshOptimizerIndexDecoderInheritance
object ← MeshOptimizerIndexDecoder
Methods
DecodeIndexBuffer(int, int, ReadOnlySpan<byte>)
Decodes an index buffer from compressed format.
csharp
public static byte[] DecodeIndexBuffer(int indexCount, int indexSize, ReadOnlySpan<byte> buffer)Parameters
indexCount int
indexSize int
buffer ReadOnlySpan<byte>
Returns
byte[]
See Also
https://github.com/zeux/meshoptimizer/blob/master/src/indexcodec.cpp

