bgfx/3rdparty/ib-compress/indexbuffercompressionformat.h

18 lines
641 B
C
Raw Normal View History

2014-10-04 01:22:28 -04:00
#ifndef INDEX_BUFFER_COMPRESSION_FORMAT_H__
#define INDEX_BUFFER_COMPRESSION_FORMAT_H__
#pragma once
enum IndexBufferCompressionFormat
{
// Per indice encoding - handles degenerates, but has worse compression/decompression speed and compression.
IBCF_PER_INDICE_1 = 0,
// Per triangle encoding - better compression/speed, does not handle degenerates.
2015-01-01 14:14:20 -05:00
IBCF_PER_TRIANGLE_1 = 1,
// Automatically pick the best encoding dependent on whether degenerate triangles are detected in the mesh.
// Will take longer to compress (due to the degenerate triangle check).
ICBF_AUTO = 2
2014-10-04 01:22:28 -04:00
};
#endif // -- INDEX_BUFFER_COMPRESSION_FORMAT_H__