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 329 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 331 of file impeller.hpp.

334  : mapping_(mapping),
335  size_(size),
336  release_callback_(std::move(release_callback)) {}

Member Function Documentation

◆ GetMapping()

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

Definition at line 338 of file impeller.hpp.

338 { return mapping_; }

◆ GetSize()

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

Definition at line 340 of file impeller.hpp.

340 { return size_; }

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