Reference TShaderSource
Declared in Codebot.Render.Shaders.pas on line 36
TShaderSource is a shader compiled from source
TShaderSource = class(TShaderObject)
public
destructor Destroy; override;
{ Compile the shader and return the compile status. If the source does not
begin with a #version directive one is added to match the OpenGL API
selected in render.inc, so the same source can target desktop and ES. }
function Compile(Source: string): Boolean;
{ The source code as stored by the compile method }
property Source: string read FSource;
end;