Lugdunum
0.1.0
|
#include <Material.hpp>
Public Member Functions | |
Material (const Material &)=delete | |
Material (Material &&)=delete | |
Material & | operator= (const Material &)=delete |
Material & | operator= (Material &&)=delete |
~Material () | |
void | destroy () |
Pipeline::Id::MaterialPart | getPipelineId () |
Public Member Functions inherited from lug::Graphics::Render::Material | |
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 |
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 |
Private Member Functions | |
Material (const std::string &name) | |
Constructs a Material. More... | |
Private Attributes | |
Pipeline::Id::MaterialPart | _pipelineIdMaterialPart |
Friends | |
Resource::SharedPtr< lug::Graphics::Render::Material > | Builder::Material::build (const ::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... | |
Protected Attributes inherited from lug::Graphics::Render::Material | |
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 |
Class for Material.
Definition at line 18 of file Material.hpp.
|
delete |
|
delete |
|
virtual |
Reimplemented from lug::Graphics::Render::Material.
Definition at line 13 of file Material.cpp.
|
private |
Constructs a Material.
Definition at line 9 of file Material.cpp.
void lug::Graphics::Vulkan::Render::Material::destroy | ( | ) |
Definition at line 17 of file Material.cpp.
Pipeline::Id::MaterialPart lug::Graphics::Vulkan::Render::Material::getPipelineId | ( | ) |
Definition at line 21 of file Material.cpp.
|
friend |
|
private |
Definition at line 44 of file Material.hpp.