MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / HasTextureCoords

Method HasTextureCoords

Externals/Assimp-3.1.1/include/mesh.h:704–710  ·  view source on GitHub ↗

Check whether the mesh contains a texture coordinate set \param pIndex Index of the texture coordinates set

Source from the content-addressed store, hash-verified

702 //! Check whether the mesh contains a texture coordinate set
703 //! \param pIndex Index of the texture coordinates set
704 bool HasTextureCoords( unsigned int pIndex) const
705 {
706 if( pIndex >= AI_MAX_NUMBER_OF_TEXTURECOORDS)
707 return false;
708 else
709 return mTextureCoords[pIndex] != NULL && mNumVertices > 0;
710 }
711
712 //! Get the number of UV channels the mesh contains
713 unsigned int GetNumUVChannels() const

Callers 1

InitFromAssimpMeshMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected