Lugdunum  0.1.0
Classes | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lug::Graphics::Vulkan::Render::Mesh Class Reference

#include <Mesh.hpp>

Inheritance diagram for lug::Graphics::Vulkan::Render::Mesh:
[legend]
Collaboration diagram for lug::Graphics::Vulkan::Render::Mesh:
[legend]

Classes

struct  PrimitiveSetData
 

Public Member Functions

 Mesh (const Mesh &)=delete
 
 Mesh (Mesh &&mesh)=delete
 
Meshoperator= (const Mesh &)=delete
 
Meshoperator= (Mesh &&mesh)=delete
 
 ~Mesh () override final
 
void destroy ()
 
- Public Member Functions inherited from lug::Graphics::Render::Mesh
 Mesh (const Mesh &)=delete
 
 Mesh (Mesh &&)=delete
 
Meshoperator= (const Mesh &)=delete
 
Meshoperator= (Mesh &&)=delete
 
const std::vector< Mesh::PrimitiveSet > & getPrimitiveSets () const
 
- 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...
 

Private Member Functions

 Mesh (const std::string &name)
 

Private Attributes

API::DeviceMemory _deviceMemory
 

Friends

Resource::SharedPtr< lug::Graphics::Render::MeshBuilder::Mesh::build (const ::lug::Graphics::Builder::Mesh &)
 

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 Member Functions inherited from lug::Graphics::Render::Mesh
 Mesh (const std::string &name)
 
- Protected Attributes inherited from lug::Graphics::Render::Mesh
std::vector< PrimitiveSet_primitiveSets
 
- Protected Attributes inherited from lug::Graphics::Resource
std::string _name
 

Detailed Description

Definition at line 20 of file Mesh.hpp.

Constructor & Destructor Documentation

◆ Mesh() [1/3]

lug::Graphics::Vulkan::Render::Mesh::Mesh ( const Mesh )
delete

◆ Mesh() [2/3]

lug::Graphics::Vulkan::Render::Mesh::Mesh ( Mesh &&  mesh)
delete

◆ ~Mesh()

lug::Graphics::Vulkan::Render::Mesh::~Mesh ( )
finaloverridevirtual

Reimplemented from lug::Graphics::Render::Mesh.

Definition at line 14 of file Mesh.cpp.

◆ Mesh() [3/3]

lug::Graphics::Vulkan::Render::Mesh::Mesh ( const std::string &  name)
explicitprivate

Definition at line 12 of file Mesh.cpp.

Member Function Documentation

◆ operator=() [1/2]

Mesh& lug::Graphics::Vulkan::Render::Mesh::operator= ( const Mesh )
delete

◆ operator=() [2/2]

Mesh& lug::Graphics::Vulkan::Render::Mesh::operator= ( Mesh &&  mesh)
delete

◆ destroy()

void lug::Graphics::Vulkan::Render::Mesh::destroy ( )

Definition at line 18 of file Mesh.cpp.

Friends And Related Function Documentation

◆ Builder::Mesh::build

Member Data Documentation

◆ _deviceMemory

API::DeviceMemory lug::Graphics::Vulkan::Render::Mesh::_deviceMemory
private

Definition at line 44 of file Mesh.hpp.


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