Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
impeller::AllocatorVMATraits Struct Reference

#include <vma.h>

Static Public Member Functions

static VmaAllocator InvalidValue ()
 
static bool IsValid (const VmaAllocator &value)
 
static void Free (VmaAllocator allocator)
 

Detailed Description

Definition at line 18 of file vma.h.

Member Function Documentation

◆ Free()

static void impeller::AllocatorVMATraits::Free ( VmaAllocator  allocator)
inlinestatic

Definition at line 25 of file vma.h.

25 {
26 TRACE_EVENT0("impeller", "DestroyAllocator");
27 ::vmaDestroyAllocator(allocator);
28 }
#define TRACE_EVENT0(category_group, name)

◆ InvalidValue()

static VmaAllocator impeller::AllocatorVMATraits::InvalidValue ( )
inlinestatic

Definition at line 19 of file vma.h.

19{ return {}; }

◆ IsValid()

static bool impeller::AllocatorVMATraits::IsValid ( const VmaAllocator &  value)
inlinestatic

Definition at line 21 of file vma.h.

21 {
22 return value != InvalidValue();
23 }
uint8_t value
static VmaAllocator InvalidValue()
Definition vma.h:19

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