Browse Source

doc: Vulkan does have 8-bit indices now.

pull/430/head
Vladimír Vondruš 6 years ago
parent
commit
12c5476f14
  1. 8
      src/Magnum/Mesh.h

8
src/Magnum/Mesh.h

@ -245,10 +245,10 @@ enum class MeshIndexType: UnsignedByte {
/**
* Unsigned byte
*
* Corresponds to @ref GL::MeshIndexType::UnsignedByte. Not available on
* Vulkan. While available on OpenGL, at least AMD GPUs are known to
* suggest (via debug output) using 16-byte types instead for better
* efficiency.
* Corresponds to @ref GL::MeshIndexType::UnsignedByte /
* @def_vk_keyword{INDEX_TYPE_UINT8_EXT,IndexType}. Note that using this
* type is discouraged, at least AMD GPUs are known to suggest (via debug
* output) using 16-byte types instead for better efficiency.
*/
UnsignedByte = 1,

Loading…
Cancel
Save