Class TAdRenderTargetTexture

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdRenderTargetTexture = class(TAdCustomTexture)

Description

TAdRenderTargetTexture extends TAdCustomTexture. It provides access to a render target texture. If you want to render to a texture use TAdTextureSurface instead. This class wrapps around TAdRenderTargetTexture and supports drawing objects to this surface.

Hierarchy

Overview

Methods

Public constructor Create(AParent:TAdDraw); override;
Public destructor Destroy; override;
Public procedure Clear; override;
Public procedure Initialize; override;
Public procedure Finalize; override;

Properties

Public property Texture: TAd2dRenderTargetTexture read GetTexture write SetTexture;
Public property Width: integer read FWidth write SetWidth;
Public property Height: integer read FHeight write SetHeight;

Description

Methods

Public constructor Create(AParent:TAdDraw); override;

Creates a new instance of TAdRenderTargetTexture.

Public destructor Destroy; override;

Destroys the instance of TAdRenderTargetTexture.

Public procedure Clear; override;

Removes the texture from the memory.

Public procedure Initialize; override;

Initializes a new texture object.

Public procedure Finalize; override;

Destroys the created texture object.

Properties

Public property Texture: TAd2dRenderTargetTexture read GetTexture write SetTexture;
 
Public property Width: integer read FWidth write SetWidth;

Provides access on the size of the texture. Set this property to change the size of the texture.

Public property Height: integer read FHeight write SetHeight;

Provides access on the size of the texture. Set this property to change the size of the texture.

SourceForge.net Logo


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