#include <GrVkDescriptorSet.h>
Definition at line 20 of file GrVkDescriptorSet.h.
◆ GrVkDescriptorSet()
GrVkDescriptorSet::GrVkDescriptorSet |
( |
GrVkGpu * |
gpu, |
|
|
VkDescriptorSet |
descSet, |
|
|
GrVkDescriptorPool * |
pool, |
|
|
GrVkDescriptorSetManager::Handle |
handle |
|
) |
| |
Definition at line 14 of file GrVkDescriptorSet.cpp.
18 : INHERITED(gpu)
19 , fDescSet(descSet)
21 , fHandle(handle) {
22 fPool->ref();
23}
◆ ~GrVkDescriptorSet()
GrVkDescriptorSet::~GrVkDescriptorSet |
( |
| ) |
|
|
inlineoverride |
◆ descriptorSet()
const VkDescriptorSet * GrVkDescriptorSet::descriptorSet |
( |
| ) |
const |
|
inline |
◆ freeGPUData()
void GrVkDescriptorSet::freeGPUData |
( |
| ) |
const |
|
overrideprivatevirtual |
Must be implemented by any subclasses. Deletes any GPU data associated with this resource
Implements GrManagedResource.
Definition at line 25 of file GrVkDescriptorSet.cpp.
25 {
26 fPool->unref();
27}
◆ onRecycle()
void GrVkDescriptorSet::onRecycle |
( |
| ) |
const |
|
overrideprivatevirtual |
Implements GrRecycledResource.
Definition at line 29 of file GrVkDescriptorSet.cpp.
29 {
31}
GrVkResourceProvider & resourceProvider()
void recycleDescriptorSet(const GrVkDescriptorSet *descSet, const GrVkDescriptorSetManager::Handle &)
The documentation for this class was generated from the following files: