Lugdunum
0.1.0
|
Class for Material. Is a Resource. More...
#include <Material.hpp>
Classes | |
struct | Constants |
struct | TextureInfo |
Public Member Functions | |
Material (const std::string &name) | |
Constructs a Material. More... | |
Material (const Material &)=delete | |
Material (Material &&)=delete | |
Material & | operator= (const Material &)=delete |
Material & | operator= (Material &&)=delete |
virtual | ~Material ()=default |
void | setIrradianceMap (const Resource::SharedPtr< SkyBox > irradianceMap) |
void | setPrefilteredMap (const Resource::SharedPtr< SkyBox > prefilteredMap) |
const Constants & | getConstants () const |
const TextureInfo & | getBaseColorTexture () const |
const TextureInfo & | getMetallicRoughnessTexture () const |
const TextureInfo & | getNormalTexture () const |
const TextureInfo & | getOcclusionTexture () const |
const TextureInfo & | getEmissiveTexture () const |
const Resource::SharedPtr< SkyBox > | getIrradianceMap () const |
const Resource::SharedPtr< SkyBox > | getPrefilteredMap () const |
Public Member Functions inherited from lug::Graphics::Resource | |
Resource (Type type, const std::string &name) | |
Resource (const Resource &)=delete | |
Resource (Resource &&)=delete | |
Resource & | operator= (const Resource &)=delete |
Resource & | operator= (Resource &&)=delete |
virtual | ~Resource ()=default |
Type | getType () const |
Returns the type of the Resource. More... | |
Handle | getHandle () const |
Returns the handle of the Resource. More... | |
const std::string & | getName () const |
Gets the name of the Resource. More... | |
void | setName (const std::string &name) |
Sets the name of the Resource. More... | |
Public Member Functions inherited from lug::Graphics::Render::DirtyObject | |
DirtyObject ()=default | |
DirtyObject (const DirtyObject &)=delete | |
DirtyObject (DirtyObject &&)=delete | |
DirtyObject & | operator= (const DirtyObject &)=delete |
DirtyObject & | operator= (DirtyObject &&)=delete |
~DirtyObject ()=default | |
void | setDirty () |
void | setDirty (uint32_t currentFrame) |
void | clearDirty () |
void | clearDirty (uint32_t currentFrame) |
bool | isDirty (uint32_t currentFrame) const |
bool | isDirty () const |
Protected Attributes | |
Constants | _constants |
TextureInfo | _baseColorTexture |
TextureInfo | _metallicRoughnessTexture |
TextureInfo | _normalTexture |
TextureInfo | _occlusionTexture |
TextureInfo | _emissiveTexture |
Resource::SharedPtr< SkyBox > | _irradianceMap |
Resource::SharedPtr< SkyBox > | _prefilteredMap |
Protected Attributes inherited from lug::Graphics::Resource | |
std::string | _name |
Friends | |
class | ::lug::Graphics::Builder::Material |
Additional Inherited Members | |
Public Types inherited from lug::Graphics::Resource | |
enum | Type : uint8_t { Type::Scene, Type::SceneNode, Type::Material, Type::Mesh, Type::Light, Type::Texture, Type::Pipeline, Type::Camera, Type::SkyBox } |
Type of the resource. More... | |
Class for Material. Is a Resource.
Definition at line 25 of file Material.hpp.
lug::Graphics::Render::Material::Material | ( | const std::string & | name | ) |
Constructs a Material.
Definition at line 7 of file Material.cpp.
|
delete |
|
delete |
|
virtualdefault |
Reimplemented in lug::Graphics::Vulkan::Render::Material.
|
inline |
Definition at line 1 of file Material.inl.
|
inline |
Definition at line 6 of file Material.inl.
|
inline |
Definition at line 11 of file Material.inl.
|
inline |
Definition at line 15 of file Material.inl.
|
inline |
Definition at line 19 of file Material.inl.
|
inline |
Definition at line 23 of file Material.inl.
|
inline |
Definition at line 27 of file Material.inl.
|
inline |
Definition at line 31 of file Material.inl.
|
inline |
Definition at line 35 of file Material.inl.
|
inline |
Definition at line 39 of file Material.inl.
|
friend |
Definition at line 26 of file Material.hpp.
|
protected |
Definition at line 75 of file Material.hpp.
|
protected |
Definition at line 76 of file Material.hpp.
|
protected |
Definition at line 77 of file Material.hpp.
|
protected |
Definition at line 78 of file Material.hpp.
|
protected |
Definition at line 79 of file Material.hpp.
|
protected |
Definition at line 80 of file Material.hpp.
|
protected |
Definition at line 81 of file Material.hpp.
|
protected |
Definition at line 82 of file Material.hpp.