Opentk/Source/Bind/ES/ES3Generator.cs
Stefanos A. c83d6ad530 DefaultOutputPath now matches OpenTK source tree
By default, generated bindings are placed in the source tree of
OpenTK. This can be overriden via a commandline switch.
2013-11-03 12:13:35 +01:00

31 lines
962 B
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.Xml.XPath;
using Bind.GL2;
using Bind.Structures;
using Delegate=Bind.Structures.Delegate;
using Enum=Bind.Structures.Enum;
namespace Bind.ES
{
// Generation implementation for OpenGL ES 3.0
class ES3Generator : ESGenerator
{
public ES3Generator(Settings settings, string dirName)
: base(settings, dirName)
{
Settings.DefaultOutputPath = Path.Combine(
Settings.DefaultOutputPath, "../ES30");
Settings.DefaultOutputNamespace = "OpenTK.Graphics.ES30";
Settings.DefaultImportsFile = "ES3Core.cs";
Settings.DefaultDelegatesFile = "ES30Delegates.cs";
Settings.DefaultEnumsFile = "ES30Enums.cs";
Settings.DefaultWrappersFile = "ES30.cs";
Profile = "gles2"; // The 3.0 spec reuses the gles2 apiname
Version = "3.0";
}
}
}