OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::VulkanDescriptorPool Class Reference

The VulkanDescriptorPool class A VulkanDescriptorPool manages the pool of a single set (i.e. More...

#include <OgreVulkanDescriptorPool.h>

+ Inheritance diagram for Ogre::VulkanDescriptorPool:

Public Member Functions

 VulkanDescriptorPool (VulkanVaoManager *vaoManager, const VulkanRootLayout *rootLayout, size_t setIdx, const size_t capacity=16u)
 
 ~VulkanDescriptorPool ()
 
void _advanceFrame ()
 
VkDescriptorSet allocate (VulkanDevice *device, VkDescriptorSetLayout setLayout)
 
void deinitialize (VulkanDevice *device)
 
size_t getCurrentCapacity () const
 
bool isAvailableInCurrentFrame () const
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete (void *ptr, void *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info More...
 
void * operator new (size_t sz, void *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 
void reset (VulkanDevice *device)
 

Detailed Description

The VulkanDescriptorPool class A VulkanDescriptorPool manages the pool of a single set (i.e.

one VkDescriptorSetLayout)

It asks for a VulkanRootLayout pointer and the setIdx in order to gather all the data.

However it is not tied to a single VulkanRootLayout and may be shared by multiple VulkanRootLayouts

Constructor & Destructor Documentation

◆ VulkanDescriptorPool()

Ogre::VulkanDescriptorPool::VulkanDescriptorPool ( VulkanVaoManager vaoManager,
const VulkanRootLayout rootLayout,
size_t  setIdx,
const size_t  capacity = 16u 
)

◆ ~VulkanDescriptorPool()

Ogre::VulkanDescriptorPool::~VulkanDescriptorPool ( )

Member Function Documentation

◆ _advanceFrame()

void Ogre::VulkanDescriptorPool::_advanceFrame ( )

◆ allocate()

VkDescriptorSet Ogre::VulkanDescriptorPool::allocate ( VulkanDevice device,
VkDescriptorSetLayout  setLayout 
)

◆ deinitialize()

void Ogre::VulkanDescriptorPool::deinitialize ( VulkanDevice device)

◆ getCurrentCapacity()

size_t Ogre::VulkanDescriptorPool::getCurrentCapacity ( ) const
inline

◆ isAvailableInCurrentFrame()

bool Ogre::VulkanDescriptorPool::isAvailableInCurrentFrame ( ) const

◆ operator delete() [1/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

◆ operator delete() [2/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

◆ operator delete() [3/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inlineinherited

◆ operator delete[]() [1/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inlineinherited

◆ operator delete[]() [2/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

◆ operator new() [1/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

◆ operator new() [2/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

operator new, with debug line info

◆ operator new() [3/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
)
inlineinherited

placement operator new

◆ operator new[]() [1/2]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

◆ operator new[]() [2/2]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

array operator new, with debug line info

◆ reset()

void Ogre::VulkanDescriptorPool::reset ( VulkanDevice device)

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