Reference TShaderCollection
Declared in Codebot.Render.Shaders.pas on line 101
TShaderCollection holds a collection of shaders by name. If you create a shader without a name, then its life will still be managed by this collection.
TShaderCollection = class(TContextCollection)
public
constructor Create;
{ Return a shader source object by name or locate and create the shader from
an asset }
property Source[AName: string]: TShaderSource read GetSource;
{ Return a shader program by name or locate and create the program from an
asset }
property Prog[AName: string]: TShaderProgram read GetProg; default;
end;See also
TContextCollection in Codebot.Render.Contexts.pas