Unit 'nxGL' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#pl_nxpascal]

TShaderProgram

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: nxGL.pas line 209

type TShaderProgram = class

public

  handle: GLhandle;

  

  attached: array of TShaderSource;

  

  attrib: array of TShaderIndexDetails;

  

  uniform: array of TShaderIndexDetails;

  

  property linked: Boolean; [r]

  

  constructor Create;

  

  destructor Destroy; override;

  

  function AddAttrib();

  

  function AddUniform();

  

  function AttachShader();

  

  procedure DetachAllShaders;

  

  procedure DetachShader();

  

  procedure Disable;

  

  procedure Enable;

  

  function GetAttrib();

  

  function GetUniform();

  

  function FindAttrib();

  

  function FindUniform();

  

  function isCompiled;

  

  function Link;

  

end;

Inheritance

TShaderProgram

  

|

TObject



CT Web help

CodeTyphon Studio