SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::BindLessTextureManager Class Reference

This Class Helps registry a texture to bind less texture descriptor set. More...

#include <BindLessTextureManager.h>

Public Member Functions

 BindLessTextureManager ()=default
 Constructor Function.
 
virtual ~BindLessTextureManager ()=default
 Destructor Function.
 

Static Public Member Functions

static uint32_t Registry (const std::string &name)
 Registry a texture to bind less texture descriptor set array index.
 
static void UnRegistry (const std::string &name)
 UnRegistry a texture from bind less texture descriptor set array index.
 

Static Private Attributes

static std::unordered_map< std::string, uint32_t > m_TextureIDMap
 Hashmap of texture path and array index.
 
static std::unordered_map< uint32_t, std::string > m_TextureInfoMap
 Hashmap of array index and "".
 
static std::mutex m_Mutex
 Mutex of this BindLessTextureManager.
 

Detailed Description

This Class Helps registry a texture to bind less texture descriptor set.

Definition at line 16 of file BindLessTextureManager.h.


The documentation for this class was generated from the following files: