Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Core::TextureStorage Struct Reference

Texture asset entry paired with its descriptor index. More...

#include <AssetManager.h>

Collaboration diagram for Engine::Core::TextureStorage:

Public Member Functions

template<typename T>
bool operator> (const T &other)
template<typename T>
bool operator< (const T &other)

Public Attributes

uint32_t index = 0u
 Descriptor or storage index assigned to the texture.
std::shared_ptr< Assets::Texturetexture = nullptr
 Managed texture asset.

Detailed Description

Texture asset entry paired with its descriptor index.

Definition at line 128 of file AssetManager.h.

Member Function Documentation

◆ operator<()

template<typename T>
bool Engine::Core::TextureStorage::operator< ( const T & other)
inline

Definition at line 147 of file AssetManager.h.

References index.

◆ operator>()

template<typename T>
bool Engine::Core::TextureStorage::operator> ( const T & other)
inline

Definition at line 141 of file AssetManager.h.

References index.

Member Data Documentation

◆ index

uint32_t Engine::Core::TextureStorage::index = 0u

Descriptor or storage index assigned to the texture.

Definition at line 133 of file AssetManager.h.

Referenced by operator<(), and operator>().

◆ texture

std::shared_ptr<Assets::Texture> Engine::Core::TextureStorage::texture = nullptr

Managed texture asset.

Definition at line 138 of file AssetManager.h.


The documentation for this struct was generated from the following file:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Mesh/AssetManager.h