Lugdunum  0.1.0
Public Member Functions | Protected Attributes | Friends | List of all members
lug::Graphics::Render::SkyBox Class Referenceabstract

#include <SkyBox.hpp>

Inheritance diagram for lug::Graphics::Render::SkyBox:
[legend]
Collaboration diagram for lug::Graphics::Render::SkyBox:
[legend]

Public Member Functions

 SkyBox (const std::string &name)
 
 SkyBox (const SkyBox &)=delete
 
 SkyBox (SkyBox &&)=delete
 
SkyBoxoperator= (const SkyBox &)=delete
 
SkyBoxoperator= (SkyBox &&)=delete
 
virtual ~SkyBox ()=default
 
const Resource::SharedPtr< lug::Graphics::Render::TexturegetBackgroundTexture () const
 
const Resource::SharedPtr< lug::Graphics::Render::TexturegetEnvironnementTexture () const
 
virtual Resource::SharedPtr< lug::Graphics::Render::SkyBoxcreateIrradianceMap (Renderer &renderer) const =0
 
virtual Resource::SharedPtr< lug::Graphics::Render::SkyBoxcreatePrefilteredMap (Renderer &renderer) const =0
 
- Public Member Functions inherited from lug::Graphics::Resource
 Resource (Type type, const std::string &name)
 
 Resource (const Resource &)=delete
 
 Resource (Resource &&)=delete
 
Resourceoperator= (const Resource &)=delete
 
Resourceoperator= (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...
 

Protected Attributes

lug::Graphics::Resource::SharedPtr< lug::Graphics::Render::Texture_backgroundTexture
 
lug::Graphics::Resource::SharedPtr< lug::Graphics::Render::Texture_environnementTexture
 
- Protected Attributes inherited from lug::Graphics::Resource
std::string _name
 

Friends

class ::lug::Graphics::Builder::SkyBox
 

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...
 

Detailed Description

Definition at line 19 of file SkyBox.hpp.

Constructor & Destructor Documentation

◆ SkyBox() [1/3]

lug::Graphics::Render::SkyBox::SkyBox ( const std::string &  name)

Definition at line 7 of file SkyBox.cpp.

◆ SkyBox() [2/3]

lug::Graphics::Render::SkyBox::SkyBox ( const SkyBox )
delete

◆ SkyBox() [3/3]

lug::Graphics::Render::SkyBox::SkyBox ( SkyBox &&  )
delete

◆ ~SkyBox()

virtual lug::Graphics::Render::SkyBox::~SkyBox ( )
virtualdefault

Member Function Documentation

◆ operator=() [1/2]

SkyBox& lug::Graphics::Render::SkyBox::operator= ( const SkyBox )
delete

◆ operator=() [2/2]

SkyBox& lug::Graphics::Render::SkyBox::operator= ( SkyBox &&  )
delete

◆ getBackgroundTexture()

const lug::Graphics::Resource::SharedPtr< lug::Graphics::Render::Texture > SkyBox::getBackgroundTexture ( ) const
inline

Definition at line 1 of file SkyBox.inl.

◆ getEnvironnementTexture()

const lug::Graphics::Resource::SharedPtr< lug::Graphics::Render::Texture > SkyBox::getEnvironnementTexture ( ) const
inline

Definition at line 5 of file SkyBox.inl.

◆ createIrradianceMap()

virtual Resource::SharedPtr<lug::Graphics::Render::SkyBox> lug::Graphics::Render::SkyBox::createIrradianceMap ( Renderer renderer) const
pure virtual

◆ createPrefilteredMap()

virtual Resource::SharedPtr<lug::Graphics::Render::SkyBox> lug::Graphics::Render::SkyBox::createPrefilteredMap ( Renderer renderer) const
pure virtual

Friends And Related Function Documentation

◆ ::lug::Graphics::Builder::SkyBox

friend class ::lug::Graphics::Builder::SkyBox
friend

Definition at line 20 of file SkyBox.hpp.

Member Data Documentation

◆ _backgroundTexture

lug::Graphics::Resource::SharedPtr<lug::Graphics::Render::Texture> lug::Graphics::Render::SkyBox::_backgroundTexture
protected

Definition at line 40 of file SkyBox.hpp.

◆ _environnementTexture

lug::Graphics::Resource::SharedPtr<lug::Graphics::Render::Texture> lug::Graphics::Render::SkyBox::_environnementTexture
protected

Definition at line 41 of file SkyBox.hpp.


The documentation for this class was generated from the following files: