|
Image | mImg |
|
std::string | mPath |
|
◆ Texture() [1/3]
vcl::Texture::Texture |
( |
const std::string & |
path | ) |
|
|
inline |
Load a texture from a file.
- Parameters
-
[in] | path | the path of the texture file. |
◆ Texture() [2/3]
Creates a Texture object, with the given image and its path.
- Parameters
-
[in] | img | the image. |
[in] | path | the path of the texture file. |
◆ Texture() [3/3]
vcl::Texture::Texture |
( |
Image && |
img, |
|
|
const std::string & |
path |
|
) |
| |
|
inline |
Creates a Texture object, with the given image and its path.
- Parameters
-
[in] | img | the image. |
[in] | path | the path of the texture file. |
◆ image() [1/2]
Image & vcl::Texture::image |
( |
| ) |
|
|
inline |
Get the image of the texture.
- Returns
- the image of the texture.
◆ image() [2/2]
Get the image of the texture.
- Returns
- the image of the texture.
◆ path() [1/2]
std::string & vcl::Texture::path |
( |
| ) |
|
|
inline |
Get the path of the texture.
- Returns
- the path of the texture.
◆ path() [2/2]
const std::string & vcl::Texture::path |
( |
| ) |
const |
|
inline |
Get the path of the texture.
- Returns
- the path of the texture.
The documentation for this class was generated from the following file:
- vclib/core/include/vclib/space/core/texture.h