Class for resource.
More...
#include <Resource.hpp>
Class for resource.
Definition at line 17 of file Resource.hpp.
◆ Type
Type of the resource.
Enumerator |
---|
Scene | A scene.
|
SceneNode | A scene node (a scene is composed of scene nodes, to make a tree)
|
Material | A material.
|
Mesh | A mesh.
|
Light | A light.
|
Texture | A texture.
|
Pipeline | A graphical pipeline.
|
Camera | A camera.
|
SkyBox | A skyBox.
|
Definition at line 24 of file Resource.hpp.
◆ Resource() [1/3]
lug::Graphics::Resource::Resource |
( |
Resource::Type |
type, |
|
|
const std::string & |
name |
|
) |
| |
◆ Resource() [2/3]
lug::Graphics::Resource::Resource |
( |
const Resource & |
| ) |
|
|
delete |
◆ Resource() [3/3]
lug::Graphics::Resource::Resource |
( |
Resource && |
| ) |
|
|
delete |
◆ ~Resource()
virtual lug::Graphics::Resource::~Resource |
( |
| ) |
|
|
virtualdefault |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ getType()
◆ getHandle()
◆ getName()
const std::string & Resource::getName |
( |
| ) |
const |
|
inline |
◆ setName()
void Resource::setName |
( |
const std::string & |
name | ) |
|
|
inline |
◆ lug::Graphics::ResourceManager
◆ _name
std::string lug::Graphics::Resource::_name |
|
protected |
◆ _handle
Handle lug::Graphics::Resource::_handle |
|
private |
The documentation for this class was generated from the following files: