Class TARBProgram

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TARBProgram = class(TObject)

Description

Abstract class for both ARB vertex and fragment programs.

Hierarchy

  • TObject
  • TARBProgram

Overview

Methods

Public destructor Destroy; override;
Public procedure Load(const S: string);
Public procedure Enable;
Public procedure Disable;
Public function DebugInfo: string; virtual;

Properties

Public property Support: TGLSupport read FSupport;

Description

Methods

Public destructor Destroy; override;
 
Public procedure Load(const S: string);

Bind and load program contents.

Public procedure Enable;

Bind and enable this program.

Public procedure Disable;

Bind and disable this program.

Public function DebugInfo: string; virtual;

Returns multiline debug info about current program. Things like how it's supported (not at all ? ARB extension ? standard ?), how much of GL limit is used (number of instructions, temporaries etc.), whether program fits within native limits etc.

Properties

Public property Support: TGLSupport read FSupport;
 

Generated by PasDoc 0.12.1 on 2013-02-04 20:26:50