![]() |
Radium Engine
1.6.3
|
Base class to manage a set of textures indexed by semantic (enum). More...
#include <Engine/Data/MaterialTextureSet.hpp>
Inheritance diagram for Ra::Engine::Data::MaterialTextureSet< TextureSemantic >:
Collaboration diagram for Ra::Engine::Data::MaterialTextureSet< TextureSemantic >:Public Member Functions | |
| void | addTexture (const TextureSemantic &semantic, const TextureManager::TextureHandle &texture) |
| void | addTexture (const TextureSemantic &semantic, const TextureParameters &texture) |
| Add texture to TextureManager fisrt, then to the texture set. | |
| Texture * | getTexture (const TextureSemantic &semantic) const |
| Texture getter from semantic. | |
Base class to manage a set of textures indexed by semantic (enum).
Definition at line 13 of file MaterialTextureSet.hpp.
|
inline |
Definition at line 18 of file MaterialTextureSet.hpp.
|
inline |
Add texture to TextureManager fisrt, then to the texture set.
Definition at line 25 of file MaterialTextureSet.hpp.
|
inline |
Texture getter from semantic.
nullptr if the texture is not found. Definition at line 34 of file MaterialTextureSet.hpp.
Here is the call graph for this function: