![]() |
VenomEngine
Cross-Platform Modern Graphics Engine
|
Additional Inherited Members | |
![]() | |
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 } |
![]() | |
![]() | |
virtual void | Destroy () override |
/!\ THIS FUNCTION MUST BE CALLED FOR DESTRUCTION, DO NOT USE delete | |
![]() | |
PluginObject (const PluginType type) | |
PluginType | GetType () const override |
template<class T > | |
T * | DAs () |
template<class T > | |
const T * | DAs () const |
![]() | |
![]() | |
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 bool | HasCachedObject (const std::string &path) |
Checks if an object is in the cache. | |
static SPtr< GraphicsCachedResource > | GetCachedObject (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. | |
![]() | |
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. | |