FillMipMapLevel Function
ImagingFormats

Helper for functions that create mipmap levels.

Pascal
procedure FillMipMapLevel(const BiggerLevel: TImageData; 
                          Width: LongInt; 
                          Height: LongInt; 
                          var SmallerLevel: TImageData);
File

ImagingFormats (at line 111)

Description

BiggerLevel is valid image and SmallerLevel is empty zeroed image. SmallerLevel is created with Width and Height dimensions and it is filled with pixels of BiggerLevel using resampling filter specified by ImagingMipMapFilter option. Uses StretchNearest and StretchResample internally so the same image data format limitations apply.

Related Information
You are here: Symbol Reference > Functions > FillMipMapLevel Function