Class TAd2dShaderSystem

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAd2dShaderSystem = class(TObject)

Description

A abstract shader generating class that is exchanged between the graphic plugin and the host application. Is created by the plugin top layer function "CreateShaderSystem". To call this function, you have to use the TAdDllLoader object. Instead of this class, you may also want to use the more abstracted TAdShaderSystem class from AdShader.

See also
TAdDllLoader
Cares of loading the plugin dll.
TAdShaderSystem
Andorra 2D's main shader system class.

Hierarchy

Overview

Methods

Public function CreateShader(AID: TAdVeryShortString): TAd2dShader; virtual; abstract;
Public procedure Initialize(AApplication: TAd2dApplication); virtual; abstract;
Public procedure Finalize; virtual; abstract;

Properties

Public property Initialized: boolean read GetInitialized;

Description

Methods

Public function CreateShader(AID: TAdVeryShortString): TAd2dShader; virtual; abstract;

Creates a new shader class from the given shader id.

Public procedure Initialize(AApplication: TAd2dApplication); virtual; abstract;

Initialized the shader system. This function should be called when the after the main surface has been initialized.

Public procedure Finalize; virtual; abstract;

Finalizes the shader system. This method should be called before the the main surface has been finalized.

Properties

Public property Initialized: boolean read GetInitialized;

Returns whether the system is initialized.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:32:00