MipmapBuilder

class MipmapBuilder

Methods

__init__

attachTo

If these levels are compatible with src, return a new Image that combines src's base level with these levels as mip levels.

countLevels

level

Methods

MipmapBuilder.__init__(self: skia.MipmapBuilder, arg0: skia.ImageInfo) → None
MipmapBuilder.attachTo(self: skia.MipmapBuilder, arg0: SkImage) → SkImage

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.

MipmapBuilder.countLevels(self: skia.MipmapBuilder) → int
MipmapBuilder.level(self: skia.MipmapBuilder, arg0: SupportsInt | SupportsIndex) → SkPixmap