| Flutter Impeller |

Static Public Member Functions | List of all members
impeller::PoolVMATraits Struct Reference

`#include <vma.h>`

## Static Public Member Functions
static PoolVMA | InvalidValue ()
static bool | IsValid (const PoolVMA &value)
static void | Free (const PoolVMA &pool)

## Detailed Description

Definition at line 44 of file vma.h.

## Member Function Documentation

## ◆ Free()

static void impeller::PoolVMATraits::Free | ( | const PoolVMA & | pool | ) |
| inlinestatic

Definition at line 51 of file vma.h.

51 {
52 TRACE_EVENT0("impeller", "DestroyPool");
53 ::vmaDestroyPool(pool.allocator, pool.pool);
54 }

References impeller::PoolVMA::allocator, and impeller::PoolVMA::pool.

## ◆ InvalidValue()

static PoolVMA impeller::PoolVMATraits::InvalidValue | ( |  | ) |
| inlinestatic

Definition at line 45 of file vma.h.

45 { return {}; }

## ◆ IsValid()

static bool impeller::PoolVMATraits::IsValid | ( | const PoolVMA & | value | ) |
| inlinestatic

Definition at line 47 of file vma.h.

47 {
48 return value.allocator != VmaAllocator{};
49 }
value
int32_t value
Definition: dl_golden_unittests.cc:459

References value.

The documentation for this struct was generated from the following file:

- impeller/renderer/backend/vulkan/vma.h