|
Lugdunum
0.1.0
|
#include <Texture.hpp>
Public Member Functions | |
| Texture (const Texture &)=delete | |
| Texture (Texture &&)=delete | |
| Texture & | operator= (const Texture &)=delete |
| Texture & | operator= (Texture &&)=delete |
| ~Texture () | |
| const API::DeviceMemory & | getDeviceMemory () const |
| const API::Image & | getImage () const |
| const API::ImageView & | getImageView () const |
| const API::Sampler & | getSampler () const |
| void | destroy () |
Public Member Functions inherited from lug::Graphics::Render::Texture | |
| Texture (const std::string &name) | |
| Texture (const Texture &)=delete | |
| Texture (Texture &&)=delete | |
| Texture & | operator= (const Texture &)=delete |
| Texture & | operator= (Texture &&)=delete |
| uint32_t | getWidth () const |
| uint32_t | getHeight () const |
| Render::Texture::Format | getFormat () const |
| Render::Texture::Filter | getMagFilter () const |
| Render::Texture::Filter | getMinFilter () const |
| Render::Texture::Filter | getMipMapFilter () const |
| Render::Texture::WrappingMode | getWrapS () const |
| Render::Texture::WrappingMode | getWrapT () 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... | |
Private Member Functions | |
| Texture (const std::string &name) | |
Private Attributes | |
| API::DeviceMemory | _deviceMemory |
| API::Image | _image |
| API::ImageView | _imageView |
| API::Sampler | _sampler |
Friends | |
| Resource::SharedPtr< lug::Graphics::Render::Texture > | Builder::Texture::build (const ::lug::Graphics::Builder::Texture &) |
Additional Inherited Members | |
Public Types inherited from lug::Graphics::Render::Texture | |
| enum | Filter : uint8_t { Filter::Nearest, Filter::Linear } |
| enum | WrappingMode : uint8_t { WrappingMode::ClampToEdge, WrappingMode::MirroredRepeat, WrappingMode::Repeat } |
| enum | Format : uint8_t { Format::Undefined, Format::R8G8B8A8_UNORM, Format::R16G16_SFLOAT, Format::R16G16B16_SFLOAT, Format::R32G32B32A32_SFLOAT } |
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... | |
Static Public Member Functions inherited from lug::Graphics::Render::Texture | |
| static size_t | formatToSize (Render::Texture::Format format) |
Protected Attributes inherited from lug::Graphics::Resource | |
| std::string | _name |
Definition at line 18 of file Texture.hpp.
|
delete |
|
delete |
|
virtual |
Reimplemented from lug::Graphics::Render::Texture.
Definition at line 11 of file Texture.cpp.
|
private |
Definition at line 9 of file Texture.cpp.
|
inline |
Definition at line 1 of file Texture.inl.
|
inline |
Definition at line 5 of file Texture.inl.
|
inline |
Definition at line 9 of file Texture.inl.
|
inline |
Definition at line 13 of file Texture.inl.
| void lug::Graphics::Vulkan::Render::Texture::destroy | ( | ) |
Definition at line 15 of file Texture.cpp.
|
friend |
|
private |
Definition at line 41 of file Texture.hpp.
|
private |
Definition at line 42 of file Texture.hpp.
|
private |
Definition at line 43 of file Texture.hpp.
|
private |
Definition at line 44 of file Texture.hpp.
1.8.13