Flutter Impeller
fml::CFRefTraits< CGImageRef > Struct Reference

fml::CFRef retain and release implementations for CGImageRef. More...

#include <metal_screenshot.h>

Static Public Member Functions

static void Retain (CGImageRef instance)
 
static void Release (CGImageRef instance)
 

Static Public Attributes

static constexpr CGImageRef kNullValue = nullptr
 

Detailed Description

fml::CFRef retain and release implementations for CGImageRef.

Definition at line 20 of file metal_screenshot.h.

Member Function Documentation

◆ Release()

static void fml::CFRefTraits< CGImageRef >::Release ( CGImageRef  instance)
inlinestatic

Definition at line 23 of file metal_screenshot.h.

23 { CGImageRelease(instance); }

◆ Retain()

static void fml::CFRefTraits< CGImageRef >::Retain ( CGImageRef  instance)
inlinestatic

Definition at line 22 of file metal_screenshot.h.

22 { CGImageRetain(instance); }

Member Data Documentation

◆ kNullValue

constexpr CGImageRef fml::CFRefTraits< CGImageRef >::kNullValue = nullptr
staticconstexpr

Definition at line 21 of file metal_screenshot.h.


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