Class TPixelMipMapSurface

DescriptionHierarchyFieldsMethodsProperties

Unit

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

Protected function CreatePixelSurfaces: TPixelSurfaces; virtual;
Public procedure ClearMipMaps;
Public procedure GenerateMipMaps;

Properties

Public property MipMaps: TPixelSurfaces read FMipMaps;

Description

Methods

Protected 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.

Public procedure ClearMipMaps;

Removes any existing mipmaps from the list.

Public procedure GenerateMipMaps;

Generates mipmaps by using ShrinkToHalfFrom method sequentially until the final surface has size of one by one.

Properties

Public property MipMaps: TPixelSurfaces read FMipMaps;

Access to mipmaps associated with this surface.


Copyright © 2000 - 2017 Yuriy Kotsarenko. Help files generated by PasDoc.