Class MeshOptimizerVertexDecoder
- Namespace
- ValveResourceFormat.Compression
- Assembly
- ValveResourceFormat.dll
Provides decoding functionality for mesh optimizer vertex buffers.
public static class MeshOptimizerVertexDecoderInheritance
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, ReadOnlySpan<byte>, bool)
Decodes a vertex buffer from compressed format.
public static byte[] DecodeVertexBuffer(int vertexCount, int vertexSize, ReadOnlySpan<byte> buffer, bool useSimd = true)Parameters
vertexCountintvertexSizeintbufferReadOnlySpan<byte>useSimdbool
Returns
- byte[]