Description | Hierarchy | Fields | Methods | Properties |
type TAdShaderSystem = class(TObject)
Andorra 2D's main shader system class. This class wraps around the the TAd2dShaderSystem class, that is returned by the Andorra 2D graphic plugin. TAdShaderSystem ensures that a new instance of TAd2dShaderSystem is created when the plugin changes. Initialisation and Finalisation routines of TAd2dShaderSystem are automatically called.
Please notice that every shader system is able to handle a single shader system only. Every attempt to compile a new shader using another language will be rejected.
![]() |
constructor Create(ADraw: TAdDraw); |
![]() |
destructor Destroy; override; |
![]() |
property ShaderSystem: TAd2dShaderSystem read FSystem; |
![]() |
property Initialized: boolean read GetInitialized; |
![]() |
property AdDraw: TAdDraw read FDraw; |
![]() |
constructor Create(ADraw: TAdDraw); |
Creates an instance of TAdShaderSystem. Automatically registers in the TAdDraw surface events. The shader system is initialized parallel to TAdDraw. See also
|
![]() |
destructor Destroy; override; |
Destroys the instance of TAdShaderSystem. Unregisters itself from the parent TAdDraw. |
![]() |
property ShaderSystem: TAd2dShaderSystem read FSystem; |
Pointer on the internal shader system. It is not recomended to use it directly. For instance, to create your own shader object use the abstracted TAdShader class. See also
|
![]() |
property AdDraw: TAdDraw read FDraw; |
Pointer on the parent TAdDraw. |