Template Class ObjectPool
Defined in File spirv_cross_containers.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public SPIRV_CROSS_NAMESPACE::ObjectPoolBase
(Class ObjectPoolBase)
Class Documentation
-
template<typename T>
class ObjectPool : public SPIRV_CROSS_NAMESPACE::ObjectPoolBase Public Functions
-
inline explicit ObjectPool(unsigned start_object_count_ = 16)
-
inline virtual void deallocate_opaque(void *ptr) override
-
inline void clear()
Protected Attributes
-
SmallVector<std::unique_ptr<T, MallocDeleter>> memory
-
unsigned start_object_count
-
struct MallocDeleter
-
inline explicit ObjectPool(unsigned start_object_count_ = 16)