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 #endif
/** /**
* @brief Whether the material has a specular texture * @brief Whether the material has a texture
* *
* Returns @cpp true @ce if any of the * Returns @cpp true @ce if any of the
* @ref MaterialAttribute::BaseColorTexture or * @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 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 @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 the actual index type from second dimension size.
only contiguous views and not @relativeref{Corrade,Containers::StridedArrayView},
following limitations of GPU index buffers that also have to be contiguous.
@see @ref MeshAttributeData
*/ */
class MAGNUM_TRADE_EXPORT MeshIndexData { class MAGNUM_TRADE_EXPORT MeshIndexData {
public: public:

Loading…
Cancel
Save