| 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 50 of file vma.h.

## Member Function Documentation

## ◆ Free()

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

Definition at line 57 of file vma.h.

57 {
58 TRACE_EVENT0("impeller", "DestroyPool");
59 ::vmaDestroyPool(pool.allocator, pool.pool);
60 }

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

## ◆ InvalidValue()

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

Definition at line 51 of file vma.h.

51 { return {}; }

## ◆ IsValid()

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

Definition at line 53 of file vma.h.

53 {
54 return value.allocator != VmaAllocator{};
55 }
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