Class TAd2DTexture

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAd2DTexture = class(TObject)

Description

An class which represents a texture in Andorra's engine.

Hierarchy

Overview

Properties

Public property Width: integer read FWidth;
Public property Height: integer read FHeight;
Public property BitDepth: TAdBitDepth read FBitDepth;
Public property Editable: boolean read FEditable;
Public property Loaded: boolean read GetLoaded;
Public property Texture: pointer read FTexture;
Public property BaseWidth: integer read FBaseWidth;
Public property BaseHeight: integer read FBaseHeight;
Public property Filter: TAd2dTextureFilter read FFilter write FFilter;

Description

Properties

Public property Width: integer read FWidth;

The width of the texture in the memory. Is scaled to power of two.

Public property Height: integer read FHeight;

The height of the texture in the memory. Is scaled to power of two.

Public property BitDepth: TAdBitDepth read FBitDepth;

Contains informations about the BitDepth of the texture. Can be 16 or 32.

Public property Editable: boolean read FEditable;

Returns weather the texture can be edited.

Public property Loaded: boolean read GetLoaded;

Returns weather a texture is loaded.

Public property Texture: pointer read FTexture;

A pointer to the graphic systems texture.

Public property BaseWidth: integer read FBaseWidth;

This value contains the original width of the texture. Important if the original texture's size was not power of two.

Public property BaseHeight: integer read FBaseHeight;

This value contains the original height of the texture. Important if the original texture's size was not power of two.

Public property Filter: TAd2dTextureFilter read FFilter write FFilter;

The texture filter used.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:31:58