Flutter Engine
The Flutter Engine
Public Member Functions | Friends | List of all members
GrD3DAMDMemoryAllocator::Alloc Class Reference

#include <GrD3DAMDMemoryAllocator.h>

Inheritance diagram for GrD3DAMDMemoryAllocator::Alloc:
GrD3DAlloc SkRefCnt SkRefCntBase

Public Member Functions

 Alloc (D3D12MA::Allocation *allocation)
 
 ~Alloc () override
 
- Public Member Functions inherited from GrD3DAlloc
 ~GrD3DAlloc () override=default
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Friends

class GrD3DAMDMemoryAllocator
 

Detailed Description

Definition at line 40 of file GrD3DAMDMemoryAllocator.h.

Constructor & Destructor Documentation

◆ Alloc()

GrD3DAMDMemoryAllocator::Alloc::Alloc ( D3D12MA::Allocation *  allocation)
inline

Definition at line 42 of file GrD3DAMDMemoryAllocator.h.

42: fAllocation(allocation) {}

◆ ~Alloc()

GrD3DAMDMemoryAllocator::Alloc::~Alloc ( )
inlineoverride

Definition at line 43 of file GrD3DAMDMemoryAllocator.h.

43 {
44 fAllocation->Release();
45 }

Friends And Related Function Documentation

◆ GrD3DAMDMemoryAllocator

friend class GrD3DAMDMemoryAllocator
friend

Definition at line 47 of file GrD3DAMDMemoryAllocator.h.


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