Adding comments.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6331 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien
2022-04-12 16:04:56 +00:00
parent 71e9798d2a
commit f9c85f380d
4 changed files with 14 additions and 8 deletions

View File

@ -72,11 +72,17 @@ namespace scene
virtual video::E_INDEX_TYPE getIndexType() const =0;
//! Get access to indices.
/** \return Pointer to indices array. */
/** Note: For historical reasons data pointer is of type u16*, but
for an index type of EIT_32BIT the index data is using an u32 array
and therefore needs a cast to u32*.
\return Pointer to indices array. */
virtual const u16* getIndices() const = 0;
//! Get access to indices.
/** \return Pointer to indices array. */
/** Note: For historical reasons data pointer is of type u16*, but
for an index type of EIT_32BIT the index data is using an u32 array
and therefore needs a cast to u32*.
\return Pointer to indices array. */
virtual u16* getIndices() = 0;
//! Get amount of indices in this meshbuffer.