internal ShaderProgram(ShaderProgramInfo info, ShaderStage stage, string code, int size) { Info = info; Stage = stage; Code = code; Size = size; }
internal ShaderProgram(ShaderProgramInfo info, string code) { Info = info; Code = code; }
public ShaderProgram(ShaderProgramInfo info, TargetLanguage language, string code) : this(info, language) { Code = code; }
public ShaderProgram(ShaderProgramInfo info, TargetLanguage language, byte[] binaryCode) : this(info, language) { BinaryCode = binaryCode; }
private ShaderProgram(ShaderProgramInfo info, TargetLanguage language) { Info = info; Language = language; }