Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
GrVkDescriptorSet Class Reference

#include <GrVkDescriptorSet.h>

Inheritance diagram for GrVkDescriptorSet:
GrVkRecycledResource GrRecycledResource GrManagedResource SkNoncopyable

Public Member Functions

 GrVkDescriptorSet (GrVkGpu *gpu, VkDescriptorSet descSet, GrVkDescriptorPool *pool, GrVkDescriptorSetManager::Handle handle)
 
 ~GrVkDescriptorSet () override
 
const VkDescriptorSet * descriptorSet () const
 
- Public Member Functions inherited from GrVkRecycledResource
 GrVkRecycledResource (GrVkGpu *gpu)
 
- Public Member Functions inherited from GrRecycledResource
void recycle () const
 
- Public Member Functions inherited from GrManagedResource
 GrManagedResource ()
 
virtual ~GrManagedResource ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Additional Inherited Members

- Protected Attributes inherited from GrVkRecycledResource
GrVkGpufGpu
 

Detailed Description

Definition at line 20 of file GrVkDescriptorSet.h.

Constructor & Destructor Documentation

◆ 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)
20 , fPool(pool)
21 , fHandle(handle) {
22 fPool->ref();
23}
AutoreleasePool pool

◆ ~GrVkDescriptorSet()

GrVkDescriptorSet::~GrVkDescriptorSet ( )
inlineoverride

Definition at line 27 of file GrVkDescriptorSet.h.

27{}

Member Function Documentation

◆ descriptorSet()

const VkDescriptorSet * GrVkDescriptorSet::descriptorSet ( ) const
inline

Definition at line 29 of file GrVkDescriptorSet.h.

29{ return &fDescSet; }

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