Flutter Engine
The Flutter Engine
|
#include <SkMipmapBuilder.h>
Public Member Functions | |
SkMipmapBuilder (const SkImageInfo &) | |
~SkMipmapBuilder () | |
int | countLevels () const |
SkPixmap | level (int index) const |
sk_sp< SkImage > | attachTo (const sk_sp< const SkImage > &src) |
Definition at line 18 of file SkMipmapBuilder.h.
SkMipmapBuilder::SkMipmapBuilder | ( | const SkImageInfo & | info | ) |
Definition at line 15 of file SkMipmapBuilder.cpp.
SkMipmapBuilder::~SkMipmapBuilder | ( | ) |
Definition at line 21 of file SkMipmapBuilder.cpp.
If these levels are compatible with src, return a new Image that combines src's base level with these levels as mip levels. If not compatible, this returns nullptr.
Definition at line 37 of file SkMipmapBuilder.cpp.
int SkMipmapBuilder::countLevels | ( | ) | const |
Definition at line 23 of file SkMipmapBuilder.cpp.
Definition at line 27 of file SkMipmapBuilder.cpp.