Flutter Impeller
IMPELLER_HPP_NAMESPACE::Mapping Class Referencefinal

#include <impeller.hpp>

Public Member Functions

 Mapping (const uint8_t *mapping, size_t size, std::function< void()> release_callback)
 
const uint8_t * GetMapping () const
 
size_t GetSize () const
 

Detailed Description

Definition at line 291 of file impeller.hpp.

Constructor & Destructor Documentation

◆ Mapping()

IMPELLER_HPP_NAMESPACE::Mapping::Mapping ( const uint8_t *  mapping,
size_t  size,
std::function< void()>  release_callback 
)
inline

Definition at line 293 of file impeller.hpp.

296  : mapping_(mapping),
297  size_(size),
298  release_callback_(std::move(release_callback)) {}

Member Function Documentation

◆ GetMapping()

const uint8_t* IMPELLER_HPP_NAMESPACE::Mapping::GetMapping ( ) const
inline

Definition at line 300 of file impeller.hpp.

300 { return mapping_; }

◆ GetSize()

size_t IMPELLER_HPP_NAMESPACE::Mapping::GetSize ( ) const
inline

Definition at line 302 of file impeller.hpp.

302 { return size_; }

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