Exemplo n.º 1
0
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Root WithDeclaration(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Root subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Declaration declaration)
 {
     subject.Declarations.Add(declaration);
     return(subject);
 }
Exemplo n.º 2
0
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Root WithVersion(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Root subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ShaderVersion version)
 {
     subject.Version = version;
     return(subject);
 }