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

#include <SkyBox.hpp>

Collaboration diagram for lug::Graphics::Builder::SkyBox:
[legend]

Public Member Functions

 SkyBox (Renderer &renderer)
 
 SkyBox (const SkyBox &)=delete
 
 SkyBox (SkyBox &&)=delete
 
SkyBoxoperator= (const SkyBox &)=delete
 
SkyBoxoperator= (SkyBox &&)=delete
 
 ~SkyBox ()=default
 
void setName (const std::string &name)
 Sets the name. More...
 
void setMagFilter (Render::Texture::Filter magFilter)
 
void setMinFilter (Render::Texture::Filter minFilter)
 
void setMipMapFilter (Render::Texture::Filter mipMapFilter)
 
void setWrapS (Render::Texture::WrappingMode wrapS)
 
void setWrapT (Render::Texture::WrappingMode wrapT)
 
void setWrapW (Render::Texture::WrappingMode wrapW)
 
void setBackgroundFilename (const std::string &filename)
 
void setEnvironnementFilename (const std::string &filename)
 
Resource::SharedPtr< Render::SkyBoxbuild ()
 

Protected Attributes

Renderer_renderer
 
std::string _name
 
Render::Texture::Filter _magFilter {Render::Texture::Filter::Nearest}
 
Render::Texture::Filter _minFilter {Render::Texture::Filter::Nearest}
 
Render::Texture::Filter _mipMapFilter {Render::Texture::Filter::Nearest}
 
Render::Texture::WrappingMode _wrapS {Render::Texture::WrappingMode::ClampToEdge}
 
Render::Texture::WrappingMode _wrapT {Render::Texture::WrappingMode::ClampToEdge}
 
Render::Texture::WrappingMode _wrapW {Render::Texture::WrappingMode::ClampToEdge}
 
std::string _backgroundFilename
 
std::string _environnementFilename
 

Friends

Resource::SharedPtr< lug::Graphics::Render::SkyBoxlug::Graphics::Vulkan::Builder::SkyBox::build (const ::lug::Graphics::Builder::SkyBox &)
 

Detailed Description

Definition at line 19 of file SkyBox.hpp.

Constructor & Destructor Documentation

◆ SkyBox() [1/3]

lug::Graphics::Builder::SkyBox::SkyBox ( Renderer renderer)
explicit

Definition at line 9 of file SkyBox.cpp.

◆ SkyBox() [2/3]

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

◆ SkyBox() [3/3]

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

◆ ~SkyBox()

lug::Graphics::Builder::SkyBox::~SkyBox ( )
default

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ setName()

void lug::Graphics::Builder::SkyBox::setName ( const std::string &  name)

Sets the name.

Parameters
[in]nameThe name of the mesh.

◆ setMagFilter()

void SkyBox::setMagFilter ( Render::Texture::Filter  magFilter)
inline

Definition at line 5 of file SkyBox.inl.

◆ setMinFilter()

void SkyBox::setMinFilter ( Render::Texture::Filter  minFilter)
inline

Definition at line 9 of file SkyBox.inl.

◆ setMipMapFilter()

void SkyBox::setMipMapFilter ( Render::Texture::Filter  mipMapFilter)
inline

Definition at line 13 of file SkyBox.inl.

◆ setWrapS()

void SkyBox::setWrapS ( Render::Texture::WrappingMode  wrapS)
inline

Definition at line 17 of file SkyBox.inl.

◆ setWrapT()

void SkyBox::setWrapT ( Render::Texture::WrappingMode  wrapT)
inline

Definition at line 21 of file SkyBox.inl.

◆ setWrapW()

void SkyBox::setWrapW ( Render::Texture::WrappingMode  wrapW)
inline

Definition at line 25 of file SkyBox.inl.

◆ setBackgroundFilename()

void SkyBox::setBackgroundFilename ( const std::string &  filename)
inline

Definition at line 29 of file SkyBox.inl.

◆ setEnvironnementFilename()

void SkyBox::setEnvironnementFilename ( const std::string &  filename)
inline

Definition at line 33 of file SkyBox.inl.

◆ build()

Resource::SharedPtr< Render::SkyBox > lug::Graphics::Builder::SkyBox::build ( )

Definition at line 11 of file SkyBox.cpp.

Friends And Related Function Documentation

◆ lug::Graphics::Vulkan::Builder::SkyBox::build

Member Data Documentation

◆ _renderer

Renderer& lug::Graphics::Builder::SkyBox::_renderer
protected

Definition at line 51 of file SkyBox.hpp.

◆ _name

std::string lug::Graphics::Builder::SkyBox::_name
protected

Definition at line 53 of file SkyBox.hpp.

◆ _magFilter

Render::Texture::Filter lug::Graphics::Builder::SkyBox::_magFilter {Render::Texture::Filter::Nearest}
protected

Definition at line 55 of file SkyBox.hpp.

◆ _minFilter

Render::Texture::Filter lug::Graphics::Builder::SkyBox::_minFilter {Render::Texture::Filter::Nearest}
protected

Definition at line 56 of file SkyBox.hpp.

◆ _mipMapFilter

Render::Texture::Filter lug::Graphics::Builder::SkyBox::_mipMapFilter {Render::Texture::Filter::Nearest}
protected

Definition at line 57 of file SkyBox.hpp.

◆ _wrapS

Render::Texture::WrappingMode lug::Graphics::Builder::SkyBox::_wrapS {Render::Texture::WrappingMode::ClampToEdge}
protected

Definition at line 59 of file SkyBox.hpp.

◆ _wrapT

Render::Texture::WrappingMode lug::Graphics::Builder::SkyBox::_wrapT {Render::Texture::WrappingMode::ClampToEdge}
protected

Definition at line 60 of file SkyBox.hpp.

◆ _wrapW

Render::Texture::WrappingMode lug::Graphics::Builder::SkyBox::_wrapW {Render::Texture::WrappingMode::ClampToEdge}
protected

Definition at line 61 of file SkyBox.hpp.

◆ _backgroundFilename

std::string lug::Graphics::Builder::SkyBox::_backgroundFilename
protected

Definition at line 63 of file SkyBox.hpp.

◆ _environnementFilename

std::string lug::Graphics::Builder::SkyBox::_environnementFilename
protected

Definition at line 64 of file SkyBox.hpp.


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