|
Lugdunum
0.1.0
|
#include <Texture.hpp>
Classes | |
| struct | Layer |
Public Types | |
| enum | Type { Type::Texture2D, Type::CubeMap } |
Public Member Functions | |
| Texture (Renderer &renderer) | |
| Texture (const Texture &)=delete | |
| Texture (Texture &&)=delete | |
| Texture & | operator= (const Texture &)=delete |
| Texture & | operator= (Texture &&)=delete |
| ~Texture () | |
| void | setName (const std::string &name) |
| Sets the name. More... | |
| void | setType (Type type) |
| void | setMipLevels (uint32_t mipLevels) |
| 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) |
| bool | addLayer (const std::string &filename, bool hdr=false) |
| bool | addLayer (uint32_t width, uint32_t height, Render::Texture::Format format, const unsigned char *data=nullptr) |
| Resource::SharedPtr< Render::Texture > | build () |
Friends | |
| Resource::SharedPtr< lug::Graphics::Render::Texture > | lug::Graphics::Vulkan::Builder::Texture::build (const ::lug::Graphics::Builder::Texture &) |
Definition at line 17 of file Texture.hpp.
|
strong |
| Enumerator | |
|---|---|
| Texture2D | |
| CubeMap | |
Definition at line 25 of file Texture.hpp.
|
explicit |
Definition at line 28 of file Texture.cpp.
|
delete |
|
delete |
| lug::Graphics::Builder::Texture::~Texture | ( | ) |
Definition at line 30 of file Texture.cpp.
| void lug::Graphics::Builder::Texture::setName | ( | const std::string & | name | ) |
Sets the name.
| [in] | name | The name of the mesh. |
|
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.
|
inline |
Definition at line 17 of file Texture.inl.
|
inline |
Definition at line 21 of file Texture.inl.
|
inline |
Definition at line 25 of file Texture.inl.
|
inline |
Definition at line 29 of file Texture.inl.
|
inline |
Definition at line 33 of file Texture.inl.
| bool lug::Graphics::Builder::Texture::addLayer | ( | const std::string & | filename, |
| bool | hdr = false |
||
| ) |
Definition at line 98 of file Texture.cpp.
| bool lug::Graphics::Builder::Texture::addLayer | ( | uint32_t | width, |
| uint32_t | height, | ||
| Render::Texture::Format | format, | ||
| const unsigned char * | data = nullptr |
||
| ) |
Definition at line 61 of file Texture.cpp.
| Resource::SharedPtr< Render::Texture > lug::Graphics::Builder::Texture::build | ( | ) |
Definition at line 37 of file Texture.cpp.
|
friend |
|
protected |
Definition at line 64 of file Texture.hpp.
|
protected |
Definition at line 66 of file Texture.hpp.
|
protected |
Definition at line 68 of file Texture.hpp.
|
protected |
Definition at line 70 of file Texture.hpp.
|
protected |
Definition at line 71 of file Texture.hpp.
|
protected |
Definition at line 72 of file Texture.hpp.
|
protected |
Definition at line 74 of file Texture.hpp.
|
protected |
Definition at line 76 of file Texture.hpp.
|
protected |
Definition at line 77 of file Texture.hpp.
|
protected |
Definition at line 78 of file Texture.hpp.
|
protected |
Definition at line 80 of file Texture.hpp.
|
protected |
Definition at line 81 of file Texture.hpp.
|
protected |
Definition at line 82 of file Texture.hpp.
|
protected |
Definition at line 84 of file Texture.hpp.
1.8.13