|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Information about how a material uses a texture. More...
#include <GREM/resource/Model.hpp>
Public Attributes | |
| TextureIndex | textureIndex |
| Index of the texture in the model's texture array, or an out-of-range index for the default texture. | |
| vec2 | textureOffset |
| Texture coordinate offset to apply when sampling the texture. | |
| mat2 | textureBasis |
| Texture coordinate basis to apply when sampling the texture. | |
Information about how a material uses a texture.
| TextureIndex grem::resource::Model::Material::TextureInfo::textureIndex |
Index of the texture in the model's texture array, or an out-of-range index for the default texture.
| vec2 grem::resource::Model::Material::TextureInfo::textureOffset |
Texture coordinate offset to apply when sampling the texture.
| mat2 grem::resource::Model::Material::TextureInfo::textureBasis |
Texture coordinate basis to apply when sampling the texture.