Gorilla.Script.Types

Unit Gorilla.Script.Types.pas

Classes

Interfaces

Records

Enumerations

Constants

    Mics. types

    • type TGorillaScriptObjectEventHandlerClass = class of TGorillaScriptObjectEventHandler;
    • type TGorillaScriptIOHandlerClass = class of TGorillaScriptIOHandler;

TGorillaScriptVariableFlag

enum TGorillaScriptVariableFlag = ( vfNone, vfVariable, vfConstant, vfLocal, vfParameter, vfField, vfProperty, vfInput, vfOutput, vfNative ) ;

A variable flag defines the type of variable handling.

Remarks

A variable can be local or a parameter. If it is a parameter, we can define if its an output or input variable.

IGorillaScriptObject

Methods

TGorillaScriptObjectEventHandler

To intercept Delphi native events we need this event handler, which registers event wrapper routines and dispatches to GorillaScript on call.

Ancestors

Members

Fields

Methods

TCustomNativeAttribute

This is the basic attribute class for native language attributes like GLSL.

Ancestors

_NATIVE_

Defining the native class detector

Ancestors

TCustomGLSLAttribute

This is the basic class for further GLSL attributes: GLSL, VARYING, UNIFORM, ATTRIBUTE, ...

Ancestors

GLSL

Defining the default GLSL attribute for marking GLSL native methods.

Remarks

       [GLSL]
       procedure Main(); override;
       

Ancestors

UNIFORM

Defining the default GLSL uniform attribute for marking native uniform variables.

Remarks

       [UNIFORM] _ModelViewProjMatrix : TMatrix3D;
       

Ancestors

ATTRIBUTE

Defining the default GLSL attribute attribute for marking native attributes.

Remarks

       [ATTRIBUTE] a_Position : TPoint3D;
       

Ancestors

VARYING

Defining the default GLSL attribute for varying arguments.

Remarks

       [VARYING] v_VertexColor : TAlphaColorF;
       

Ancestors

TShader

Custom shader class for all shaders programmed within scripting

Ancestors

Members

TVertexShader

Custom vertex shader class for all vertex shaders programmed within scripting.

Ancestors

Members