The SetupParams function wraps all the parameters neede to crate a Texture.
More...
#include <Texture.hpp>
List of all members.
Detailed Description
The SetupParams function wraps all the parameters neede to crate a Texture.
A SetupParams object is automatically bound to a Texture after calling setupTexture2D() and similar functions. Once the SetupParams are bound to a Texture calling Texture::createTexture() will create a new Texture according to what specified in the SetupParams objects. After Texture::createTexture() the SetupParams object is removed.
Constructor & Destructor Documentation
| vl::Texture::SetupParams::SetupParams |
( |
) |
[inline] |
Member Function Documentation
| const String& vl::Texture::SetupParams::imagePath |
( |
) |
const [inline] |
| Image* vl::Texture::SetupParams::image |
( |
) |
const [inline] |
| bool vl::Texture::SetupParams::border |
( |
) |
const [inline] |
| bool vl::Texture::SetupParams::hasMipmaps |
( |
) |
const [inline] |
| void vl::Texture::SetupParams::setImagePath |
( |
const String & |
path ) |
[inline] |
| void vl::Texture::SetupParams::setImage |
( |
Image * |
image ) |
[inline] |
| void vl::Texture::SetupParams::setFormat |
( |
ETextureFormat |
format ) |
[inline] |
| void vl::Texture::SetupParams::setBorder |
( |
bool |
on ) |
[inline] |
| void vl::Texture::SetupParams::setHasMipmaps |
( |
bool |
on ) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file:
- C:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vl/Texture.hpp