Lugdunum  0.1.0
Material.inl
Go to the documentation of this file.
1 inline void Material::setIrradianceMap(const Resource::SharedPtr<SkyBox> irradianceMap) {
2  _irradianceMap = irradianceMap;
3  DirtyObject::setDirty(true);
4 }
5 
6 inline void Material::setPrefilteredMap(const Resource::SharedPtr<SkyBox> prefilteredMap) {
7  _prefilteredMap = prefilteredMap;
8  DirtyObject::setDirty(true);
9 }
10 
11 inline const Material::Constants& Material::getConstants() const {
12  return _constants;
13 }
14 
15 inline const Material::TextureInfo& Material::getBaseColorTexture() const {
16  return _baseColorTexture;
17 }
18 
19 inline const Material::TextureInfo& Material::getMetallicRoughnessTexture() const {
20  return _metallicRoughnessTexture;
21 }
22 
23 inline const Material::TextureInfo& Material::getNormalTexture() const {
24  return _normalTexture;
25 }
26 
27 inline const Material::TextureInfo& Material::getOcclusionTexture() const {
28  return _occlusionTexture;
29 }
30 
31 inline const Material::TextureInfo& Material::getEmissiveTexture() const {
32  return _emissiveTexture;
33 }
34 
35 inline const Resource::SharedPtr<SkyBox> Material::getIrradianceMap() const {
36  return _irradianceMap;
37 }
38 
39 inline const Resource::SharedPtr<SkyBox> Material::getPrefilteredMap() const {
40  return _prefilteredMap;
41 }
Dummy class for a shared pointer.
Definition: Resource.hpp:66