VenomEngine
Cross-Platform Modern Graphics Engine
Loading...
Searching...
No Matches
venom::common::ShaderResourceTable Class Referenceabstract
+ Inheritance diagram for venom::common::ShaderResourceTable:

Classes

class  Descriptor
 

Public Types

enum  SetsIndex {
  SETS_INDEX_MODEL_MATRICES = 0 , SETS_INDEX_CAMERA = 1 , SETS_INDEX_TEXTURES = 2 , SETS_INDEX_SAMPLER = 3 ,
  SETS_INDEX_MATERIAL = 4 , SETS_INDEX_SCENE = 5 , SETS_INDEX_PANORAMA = 6 , SETS_INDEX_LIGHT = 7
}
 

Static Public Member Functions

static void UpdateDescriptor (const SetsIndex index, const int binding, const void *data, const size_t size, const size_t offset=0)
 
static vcm::Mat4 * GetAllModelMatrixBuffer ()
 
static vcm::Mat4 * GetModelMatrixBuffer ()
 
static size_t GetAllModelMatrixBytesSize ()
 
static void ReleaseModelMatrixBuffer (const vcm::Mat4 *mat)
 
static int GetModelMatrixBufferId (const vcm::Mat4 *mat)
 
static int BindTexture ()
 
static void UnbindTexture (int id)
 
static void SetMaxTextures (uint32_t maxTextures)
 
static int GetMaxTextures ()
 
static bool UsingLargeBindlessTextures ()
 
- Static Public Member Functions inherited from venom::common::GraphicsPluginObject
static bool HasCachedObject (const std::string &path)
 Checks if an object is in the cache.
 
static SPtr< GraphicsCachedResourceGetCachedObject (const std::string &path)
 Gets a cached object from the graphics cache.
 
static const std::unordered_map< std::string, std::shared_ptr< GraphicsCachedResource > > & GetCachedObjects ()
 Gets all cached objects.
 

Additional Inherited Members

- 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 * DAs ()
 
template<class T >
const T * DAs () const
 
- Public Member Functions inherited from venom::common::IPluginObject
- Static Protected Member Functions inherited from venom::common::GraphicsPluginObject
static void _SetInCache (const std::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.
 

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