Esempio n. 1
0
 internal ShaderProgram(ShaderProgramInfo info, ShaderStage stage, string code, int size)
 {
     Info  = info;
     Stage = stage;
     Code  = code;
     Size  = size;
 }
Esempio n. 2
0
 internal ShaderProgram(ShaderProgramInfo info, string code)
 {
     Info = info;
     Code = code;
 }
Esempio n. 3
0
 public ShaderProgram(ShaderProgramInfo info, TargetLanguage language, string code) : this(info, language)
 {
     Code = code;
 }
Esempio n. 4
0
 public ShaderProgram(ShaderProgramInfo info, TargetLanguage language, byte[] binaryCode) : this(info, language)
 {
     BinaryCode = binaryCode;
 }
Esempio n. 5
0
 private ShaderProgram(ShaderProgramInfo info, TargetLanguage language)
 {
     Info     = info;
     Language = language;
 }