![]() |
VenomEngine
Cross-Platform Modern Graphics Engine
|
Inheritance diagram for venom::vulkan::VulkanTexture:Classes | |
| class | VulkanGUITexture |
Public Member Functions | |
| void | _ResetResource () override |
| Resets the resource, should be implemented by the final class, i.e. VulkanTextureResource. | |
| vc::Error | LoadImage (unsigned char *pixels, int width, int height, int channels) override |
| vc::Error | LoadImageRGBA (unsigned char *pixels, int width, int height, int channels) override |
| vc::Error | LoadImage (uint16_t *pixels, int width, int height, int channels) override |
| vc::Error | _InitDepthBuffer (int width, int height) override |
| vc::Error | _CreateAttachment (int width, int height, int imageCount, vc::ShaderVertexFormat format) override |
| vc::Error | _CreateReadWriteTexture (int width, int height, vc::ShaderVertexFormat format, int mipLevels, int arrayLayers) override |
| vc::Error | _CreateShadowMaps (int dimension) override |
| vc::Error | _CreateShadowCubeMaps (int dimension) override |
| vc::Error | _SaveImageToFile (const char *path) override |
| vc::Error | _SetMemoryAccess (const vc::TextureMemoryAccess access) override |
| GUITexture * | _NewGuiTextureInstance () override |
| int | GetHeight () const override |
| int | GetWidth () const override |
| void | SetDimensions (int width, int height) override |
| bool | HasTexture () const override |
| const Image & | GetImage () const |
| Image & | GetImage () |
| const ImageView & | GetImageView (int index=0) const |
| ImageView & | GetImageView (int index=0) |
| ImageView & | CreateImageView () const |
Public Member Functions inherited from venom::common::TextureImpl | |
| vc::Error | SaveImageToFile (const char *path) |
| vc::Error | LoadImageFromFile (const char *path) |
| vc::Error | LoadImage (const char *path, int id, char *bgraData, unsigned int width, unsigned int height) |
| vc::Error | InitDepthBuffer (int width, int height) |
| vc::Error | CreateReadWriteTexture (int width, int height, vc::ShaderVertexFormat format, int mipMapLevels, int arrayLayers=1) |
| Corresponds to Storage Images / Sampled Images for Vulkan for instance Switch between layouts or types is handled automatically. | |
| vc::Error | CreateAttachment (int width, int height, int imageCount, vc::ShaderVertexFormat format) |
| vc::Error | CreateShadowMaps (int dimension) |
| vc::Error | CreateShadowCubeMaps (int dimension) |
| vc::Error | SetMemoryAccess (const TextureMemoryAccess access) |
| void | SetTexturePeakLuminance (float peakLuminance) |
| void | SetTextureAverageLuminance (float averageLuminance) |
| const float & | GetTexturePeakLuminance () const |
| const float & | GetTextureAverageLuminance () const |
| const TextureMemoryAccess & | GetMemoryAccess () const |
| bool | operator== (const GraphicsCachedResource *res) const |
| vc::Error | GetGUITextureID (void **ptrToTextureId) |
Public Member Functions inherited from venom::common::GraphicsPluginObject | |
| virtual void | Destroy () override |
/!\ THIS FUNCTION MUST BE CALLED FOR DESTRUCTION, DO NOT USE delete | |
Public Member Functions inherited from venom::common::PluginObject | |
| PluginObject (const PluginType type) | |
| PluginType | GetType () const override |
| template<class T> | |
| T * | As () |
| template<class T> | |
| const T * | As () const |
| template<class T> | |
| T * | ConstAs () const |
| template<class T> | |
| T * | RAs () |
| template<class T> | |
| const T * | RAs () const |
| template<class T> | |
| T * | DAs () |
| template<class T> | |
| const T * | DAs () const |
| void | IncRefCount () |
| void | DecRefCount () |
Public Member Functions inherited from venom::common::GraphicsCachedResourceHolder | |
| template<typename T> | |
| T * | As () |
| void | SetResource (const GraphicsCachedResourceHolder &resource) |
| void | SetResource (const SPtr< GraphicsCachedResource > &resource) |
| const vc::String & | GetResourceName () const |
| const vc::String & | GetResourceShortName () const |
Static Public Member Functions | |
| static VulkanTexture * | GetDummyTexture () |
| static void | SetDummyTexture (VulkanTexture *texture) |
Static Public Member Functions inherited from venom::common::GraphicsPluginObject | |
| static bool | HasCachedObject (const vc::String &path) |
| Checks if an object is in the cache. | |
| static SPtr< GraphicsCachedResource > | GetCachedObject (const vc::String &path) |
| Gets a cached object from the graphics cache. | |
| static const vc::UMap< vc::String, vc::SPtr< GraphicsCachedResource > > & | GetCachedObjects () |
| Gets all cached objects. | |
Additional Inherited Members | |
Protected Member Functions inherited from venom::common::GraphicsCachedResourceHolder | |
| const SPtr< GraphicsCachedResource > & | _GetResourceToCache () const |
| SPtr< GraphicsCachedResource > & | _GetResourceToCache () |
| void | _LoadFromCache (const SPtr< GraphicsCachedResource > &cache) |
Static Protected Member Functions inherited from venom::common::TextureImpl | |
| static void | UnloadAllGuiTextures () |
Static Protected Member Functions inherited from venom::common::GraphicsPluginObject | |
| static void | _SetInCache (const vc::String &path, const SPtr< GraphicsCachedResource > &object) |
| Sets an object in the cache. | |
| static void | _SetCacheSize (size_t size) |
| Adds cache size to avoid unnecessary additional allocations. | |
| static void | _AddCacheSize (size_t size) |
| Adds cache size to avoid unnecessary additional allocations. | |
Protected Attributes inherited from venom::common::TextureImpl | |
| TextureType | _textureType |
| TextureUsage | _textureUsage |
Protected Attributes inherited from venom::common::GraphicsCachedResourceHolder | |
| SPtr< GraphicsCachedResource > | _resource |
|
overridevirtual |
Implements venom::common::TextureImpl.
|
overridevirtual |
Implements venom::common::TextureImpl.
|
overridevirtual |
Implements venom::common::TextureImpl.
|
overridevirtual |
Implements venom::common::TextureImpl.
|
overridevirtual |
Implements venom::common::TextureImpl.
|
overridevirtual |
Implements venom::common::TextureImpl.
|
overridevirtual |
Resets the resource, should be implemented by the final class, i.e. VulkanTextureResource.
Implements venom::common::GraphicsCachedResourceHolder.
|
overridevirtual |
Implements venom::common::TextureImpl.
|
overridevirtual |
Implements venom::common::TextureImpl.
|
overridevirtual |
Implements venom::common::TextureImpl.
|
overridevirtual |
Implements venom::common::TextureImpl.
|
inlineoverridevirtual |
Implements venom::common::TextureImpl.
|
overridevirtual |
Implements venom::common::TextureImpl.
|
overridevirtual |
Implements venom::common::TextureImpl.
|
overridevirtual |
Implements venom::common::TextureImpl.
|
overridevirtual |
Implements venom::common::TextureImpl.