![]() |
Skylicht Engine
|
Structure for a uniform texture parameter in the material. More...
#include <Material/CMaterial.h>
Public Member Functions | |
| SUniformTexture () | |
| Default constructor initializing default values. | |
| SUniformTexture * | clone () |
| Creates a deep copy of the uniform texture. | |
Public Attributes | |
| std::string | Name |
| Name of the uniform texture. | |
| std::string | Path |
| Path to the texture file. | |
| ITexture * | Texture |
| Pointer to loaded texture resource. | |
| int | TextureSlot |
| Texture slot index in the shader. | |
| int | WrapU |
| Wrapping mode in U direction. | |
| int | WrapV |
| Wrapping mode in V direction. | |
| int | Anisotropic |
| Anisotropic filtering level. | |
| bool | Trilinear |
| Trilinear filtering enabled. | |
| bool | Bilinear |
| Bilinear filtering enabled. | |
Structure for a uniform texture parameter in the material.
Holds information about the texture, its name, path, slot, wrapping modes, and filtering options.
|
inline |
Creates a deep copy of the uniform texture.