Flutter Engine
The Flutter Engine
|
#include <GrVkDescriptorPool.h>
Public Member Functions | |
VkDescriptorPool | descPool () const |
bool | isCompatible (VkDescriptorType type, uint32_t count) const |
Public Member Functions inherited from GrVkManagedResource | |
GrVkManagedResource (const GrVkGpu *gpu) | |
Public Member Functions inherited from GrManagedResource | |
GrManagedResource () | |
virtual | ~GrManagedResource () |
bool | unique () const |
void | ref () const |
void | unref () const |
Static Public Member Functions | |
static GrVkDescriptorPool * | Create (GrVkGpu *gpu, VkDescriptorType type, uint32_t count) |
Additional Inherited Members | |
Protected Attributes inherited from GrVkManagedResource | |
const GrVkGpu * | fGpu |
We require that all descriptor sets are of a single descriptor type. We also use a pool to only make one type of descriptor set. Thus a single VkDescriptorPool will only allocated space for for one type of descriptor.
Definition at line 23 of file GrVkDescriptorPool.h.
|
static |
Definition at line 14 of file GrVkDescriptorPool.cpp.
|
inline |
Definition at line 27 of file GrVkDescriptorPool.h.
bool GrVkDescriptorPool::isCompatible | ( | VkDescriptorType | type, |
uint32_t | count | ||
) | const |
Definition at line 45 of file GrVkDescriptorPool.cpp.