Browse Source

Trade: minor doc fixes.

pull/578/head
Pablo Escobar 4 years ago committed by Vladimír Vondruš
parent
commit
e8e9aeec7f
  1. 2
      src/Magnum/Trade/FlatMaterialData.h
  2. 5
      src/Magnum/Trade/MeshData.h

2
src/Magnum/Trade/FlatMaterialData.h

@ -57,7 +57,7 @@ class MAGNUM_TRADE_EXPORT FlatMaterialData: public MaterialData {
#endif
/**
* @brief Whether the material has a specular texture
* @brief Whether the material has a texture
*
* Returns @cpp true @ce if any of the
* @ref MaterialAttribute::BaseColorTexture or

5
src/Magnum/Trade/MeshData.h

@ -227,10 +227,7 @@ index array. The @ref MeshIndexType gets inferred from the view type:
Alternatively, you can pass a typeless @cpp const void @ce view and supply
@ref MeshIndexType explicitly, or a contiguous 2D view and let the class detect
the actual index type from second dimension size. Note that the class accepts
only contiguous views and not @relativeref{Corrade,Containers::StridedArrayView},
following limitations of GPU index buffers that also have to be contiguous.
@see @ref MeshAttributeData
the actual index type from second dimension size.
*/
class MAGNUM_TRADE_EXPORT MeshIndexData {
public:

Loading…
Cancel
Save