Merge pull request #3578 from gkv311/master

aiMaterial::GetTexture() - fix misleading description of path argument.
kimkulling-ossfuzz_issue29655
Kim Kulling 2021-01-16 17:16:05 +01:00 committed by GitHub
commit 061ef1f263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -735,9 +735,9 @@ public:
* #GetTextureCount() can be used to determine the number of textures * #GetTextureCount() can be used to determine the number of textures
* per texture type. * per texture type.
* @param path Receives the path to the texture. * @param path Receives the path to the texture.
* If the texture is embedded, receives a '*' followed by the id of * Use aiScene::GetEmbeddedTexture() method to determine if returned path
* the texture (for the textures stored in the corresponding scene) which * is an image file to be opened or a string key of embedded texture stored in the corresponding scene
* can be converted to an int using a function like atoi. * (could be a '*' followed by the id of the texture in case of no name)
* NULL is a valid value. * NULL is a valid value.
* @param mapping The texture mapping. * @param mapping The texture mapping.
* NULL is allowed as value. * NULL is allowed as value.