Class MeshOptimizerVertexDecoder
- Namespace
- ValveResourceFormat.Compression
- Assembly
- ValveResourceFormat.dll
Provides decoding functionality for mesh optimizer vertex buffers.
public static class MeshOptimizerVertexDecoder
Inheritance
Inherited Members
Properties
IsHardwareAccelerated
Gets a value indicating whether hardware acceleration is available for decoding.
public static bool IsHardwareAccelerated { get; }
Property Value
Methods
DecodeVertexBuffer(int, int, Span<byte>, bool)
Decodes a vertex buffer from compressed format.
public static byte[] DecodeVertexBuffer(int vertexCount, int vertexSize, Span<byte> buffer, bool useSimd = true)
Parameters
Returns
- byte[]