update comment

This commit is contained in:
yangxiao 2015-12-01 17:47:34 +08:00
parent f298e49bf3
commit 54e13c3acd
1 changed files with 3 additions and 3 deletions

View File

@ -96,12 +96,12 @@ public:
int getVertexSizeInBytes() const; int getVertexSizeInBytes() const;
/** /**
* set diffuse texture * set texture (diffuse), which is responsible for the main apearence. It is also means main textrue, you can also call setTexture(texPath, NTextureData::Usage::Diffuse)
* @param texPath texture path * @param texPath texture path
*/ */
void setTexture(const std::string& texPath); void setTexture(const std::string& texPath);
/** /**
* set diffuse texture * set texture (diffuse), which is responsible for the main apearence. It is also means main textrue, you can also call setTexture(texPath, NTextureData::Usage::Diffuse)
* @param tex texture to be set * @param tex texture to be set
*/ */
void setTexture(Texture2D* tex); void setTexture(Texture2D* tex);
@ -118,7 +118,7 @@ public:
*/ */
void setTexture(const std::string& texPath, NTextureData::Usage usage); void setTexture(const std::string& texPath, NTextureData::Usage usage);
/** /**
* Get texture * Get texture (diffuse), which is responsible for the main apearence. It is also means main textrue, you can also call getTexture(NTextureData::Usage::Diffuse)
* @return Texture used, return the texture of first mesh if multiple meshes exist * @return Texture used, return the texture of first mesh if multiple meshes exist
*/ */
Texture2D* getTexture() const; Texture2D* getTexture() const;