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

18 lines
653 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
{
2015-01-01 15:09:57 -05:00
// Per indice encoding - handles degenerates, but has worse compression/decompression speed and compression.
IBCF_PER_INDICE_1 = 0,
2014-10-04 01:22:28 -04:00
2015-01-01 15:09:57 -05:00
// Per triangle encoding - better compression/speed, does not handle degenerates.
IBCF_PER_TRIANGLE_1 = 1,
2015-01-01 14:14:20 -05:00
// 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__