Description | Hierarchy | Fields | Methods | Properties |
type TAdTextureSurface = class(TAdRenderingSurface)
A surface object that allows you to render your graphics in a texture.
constructor Create(ADraw:TAdDraw); override; |
|
destructor Destroy; override; |
|
procedure SetSize(AWidth, AHeight: integer); |
|
function CanDraw:boolean; override; |
property Image: TAdCustomImage read FImage; |
|
property Texture: TAdRenderTargetTexture read FTexture; |
constructor Create(ADraw:TAdDraw); override; |
|
Creates an instance of TAdTextureSurface. |
destructor Destroy; override; |
|
Destroys the instance of TAdTextureSurface |
procedure SetSize(AWidth, AHeight: integer); |
|
Sets the size of the surface to a new value. Normally the surface has a size of 128x128 pixels. |
function CanDraw:boolean; override; |
|
Returns whether graphic operations can be performed on the surface. |
property Image: TAdCustomImage read FImage; |
|
Image object that can be used to draw the texture directly on another surface. |
property Texture: TAdRenderTargetTexture read FTexture; |
|
Pointer on the texture, that contains the scene surface. |