Class TPixelMipMapSurface
Unit
PXL.Surfaces
Declaration
type TPixelMipMapSurface = class(TPixelSurface)
Description
This class closely resembles TPixelSurface, except that it also contains other surfaces, mainly useful for generating and storing mipmaps.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
function CreatePixelSurfaces: TPixelSurfaces; virtual; |
|
Creates the list of mipmaps for the current surface. This method can be overriden by more extended and/or hardware-assisted surfaces to provide extended versions of TPixelSurfaces implementation.
|
 |
procedure ClearMipMaps; |
|
Removes any existing mipmaps from the list.
|
 |
procedure GenerateMipMaps; |
|
Generates mipmaps by using ShrinkToHalfFrom method sequentially until the final surface has size of one by one.
|
Properties
 |
property MipMaps: TPixelSurfaces read FMipMaps; |
|
Access to mipmaps associated with this surface.
|
Copyright © 2000 - 2017 Yuriy Kotsarenko. Help files generated by PasDoc.
|