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

Loading…
Cancel
Save