An internal type that is used to move a resource reference. More...
#include <resource_manager_vk.h>
Public Types | |
| using | ResourceType = ResourceType_ |
Public Member Functions | |
| ResourceVKT (ResourceType &&resource) | |
| Construct a resource from a move-constructible resource. More... | |
| const ResourceType * | Get () const |
| Returns a pointer to the resource. More... | |
Public Member Functions inherited from impeller::ResourceVK | |
| virtual | ~ResourceVK ()=default |
An internal type that is used to move a resource reference.
Do not use directly, use `UniqueResourceVKT` instead.
| ResourceType_ | The type of the resource. |
Definition at line 112 of file resource_manager_vk.h.
| using impeller::ResourceVKT< ResourceType_ >::ResourceType = ResourceType_ |
Definition at line 114 of file resource_manager_vk.h.
|
inlineexplicit |
Construct a resource from a move-constructible resource.
| [in] | resource | The resource to move. |
Definition at line 119 of file resource_manager_vk.h.
|
inline |
Returns a pointer to the resource.
Definition at line 123 of file resource_manager_vk.h.