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