Unit CastleGLShaders

Description

OpenGL shaders in GLSL language.

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class EGLSLError Common class for exceptions related to GLSL programs.
Class EGLSLShaderCompileError  
Class EGLSLProgramLinkError  
Class EGLSLAttributeNotFound  
Class EGLSLTransformFeedbackError  
Record TGLSLUniform  
Record TGLSLAttribute  
Class TGLSLProgram Easily handle program in GLSL (OpenGL Shading Language).

Functions and Procedures

function GetCurrentProgram: TGLSLProgram; deprecated 'use RenderContext.CurrentProgram';
procedure SetCurrentProgram(const Value: TGLSLProgram); deprecated 'use RenderContext.CurrentProgram';

Types

TGLuintList = TCardinalList;
TGLSLAttributeList = specialize TList<TGLSLAttribute>;
TLocationCache = specialize TDictionary<String, TGLint>;
TGLSLProgramList = specialize TObjectList<TGLSLProgram>;

Variables

LogShaders: boolean;
property CurrentProgram: TGLSLProgram read GetCurrentProgram write SetCurrentProgram;

Description

Functions and Procedures

function GetCurrentProgram: TGLSLProgram; deprecated 'use RenderContext.CurrentProgram';

Warning: this symbol is deprecated: use RenderContext.CurrentProgram

 
procedure SetCurrentProgram(const Value: TGLSLProgram); deprecated 'use RenderContext.CurrentProgram';

Warning: this symbol is deprecated: use RenderContext.CurrentProgram

 

Types

TGLuintList = TCardinalList;
 
TGLSLAttributeList = specialize TList<TGLSLAttribute>;
 
TLocationCache = specialize TDictionary<String, TGLint>;
 
TGLSLProgramList = specialize TObjectList<TGLSLProgram>;
 

Variables

LogShaders: boolean;
 
property CurrentProgram: TGLSLProgram read GetCurrentProgram write SetCurrentProgram;

Warning: this symbol is deprecated.

Currently enabled GLSL program. Nil if fixed-function pipeline should be used. Setting this property encapsulates the OpenGL glUseProgram (or equivalent ARB extension), additionally preventing redundant glUseProgram calls.

Use RenderContext.CurrentProgram


Generated by PasDoc 0.16.0.