Description | Hierarchy | Fields | Methods | Properties |
type TAd2DTexture = class(TObject)
An class which represents a texture in Andorra's engine.
property Width: integer read FWidth; |
|
property Height: integer read FHeight; |
|
property BitDepth: TAdBitDepth read FBitDepth; |
|
property Editable: boolean read FEditable; |
|
property Loaded: boolean read GetLoaded; |
|
property Texture: pointer read FTexture; |
|
property BaseWidth: integer read FBaseWidth; |
|
property BaseHeight: integer read FBaseHeight; |
|
property Filter: TAd2dTextureFilter read FFilter write FFilter; |
property Width: integer read FWidth; |
|
The width of the texture in the memory. Is scaled to power of two. |
property Height: integer read FHeight; |
|
The height of the texture in the memory. Is scaled to power of two. |
property BitDepth: TAdBitDepth read FBitDepth; |
|
Contains informations about the BitDepth of the texture. Can be 16 or 32. |
property Editable: boolean read FEditable; |
|
Returns weather the texture can be edited. |
property Loaded: boolean read GetLoaded; |
|
Returns weather a texture is loaded. |
property Texture: pointer read FTexture; |
|
A pointer to the graphic systems texture. |
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. |
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. |
property Filter: TAd2dTextureFilter read FFilter write FFilter; |
|
The texture filter used. |