| Flutter macOS Embedder |

Public Member Functions | List of all members
flutter::TextureRegistrar Class Referenceabstract

`#include <texture_registrar.h>`

Inheritance diagram for flutter::TextureRegistrar:

## Public Member Functions
virtual | ~TextureRegistrar ()=default
virtual int64_t | RegisterTexture (TextureVariant *texture)=0
virtual bool | MarkTextureFrameAvailable (int64_t texture_id)=0
virtual void | UnregisterTexture (int64_t texture_id, std::function< void()> callback)=0
virtual bool | UnregisterTexture (int64_t texture_id)=0

## Detailed Description

Definition at line 85 of file texture_registrar.h.

## Constructor & Destructor Documentation

## ◆ ~TextureRegistrar()

virtual flutter::TextureRegistrar::~TextureRegistrar | ( |  | ) |
| virtualdefault

## Member Function Documentation

## ◆ MarkTextureFrameAvailable()

virtual bool flutter::TextureRegistrar::MarkTextureFrameAvailable | ( | int64_t | texture_id | ) |
| pure virtual

Implemented in flutter::TextureRegistrarImpl.

Referenced by flutter::TEST().

## ◆ RegisterTexture()

virtual int64_t flutter::TextureRegistrar::RegisterTexture | ( | TextureVariant * | texture | ) |
| pure virtual

Implemented in flutter::TextureRegistrarImpl.

Referenced by flutter::TEST().

## ◆ UnregisterTexture() [1/2]

virtual bool flutter::TextureRegistrar::UnregisterTexture | ( | int64_t | texture_id | ) |
| pure virtual

Implemented in flutter::TextureRegistrarImpl.

## ◆ UnregisterTexture() [2/2]

virtual void flutter::TextureRegistrar::UnregisterTexture | ( | int64_t | texture_id,
|  | std::function< void()> | callback
| ) |  |
| pure virtual

Implemented in flutter::TextureRegistrarImpl.

Referenced by flutter::TEST().

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

- shell/platform/common/client_wrapper/include/flutter/texture_registrar.h