Unit CastleShaders

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Shaders types. Independent from OpenGL and X3D.

Overview

Types

TShaderType = (...);

Constants

ShaderTypeName: array [TShaderType] of string = ( 'Vertex', 'Geometry', 'Fragment' );
ShaderTypeNameX3D: array [TShaderType] of string = ( 'VERTEX', 'GEOMETRY', 'FRAGMENT' );

Description

Types

TShaderType = (...);
 
Values
  • stVertex:  
  • stGeometry:  
  • stFragment:  

Constants

ShaderTypeName: array [TShaderType] of string = ( 'Vertex', 'Geometry', 'Fragment' );
 
ShaderTypeNameX3D: array [TShaderType] of string = ( 'VERTEX', 'GEOMETRY', 'FRAGMENT' );