Bind.Wgl.Generator.Generator C# (CSharp) Method

Generator() public method

public Generator ( ) : System
return System
        public Generator()
            : base()
        {
            glTypemap = "Wgl\\wgl.tm";
            csTypemap = "csharp.tm";
            enumSpec = "Wgl\\wglenum.spec";
            enumSpecExt = "Wgl\\wglenumext.spec";
            glSpec = "Wgl\\wgl.spec";
            glSpecExt = "Wgl\\wglext.spec";
            
            importsFile = "WglCore.cs";
            delegatesFile = "WglDelegates.cs";
            enumsFile = "WglEnums.cs";
            wrappersFile = "Wgl.cs";

            Settings.OutputClass = "Wgl";
            Settings.FunctionPrefix = "wgl";
            Settings.ConstantPrefix = "WGL_";

            if (Settings.Compatibility == Settings.Legacy.Tao)
            {
                Settings.OutputNamespace = "Tao.Platform.Windows";
                Settings.WindowsGDI = "Tao.Platform.Windows.Gdi";
            }
            else
            {
                Settings.OutputNamespace = "OpenTK.Platform.Windows";
            }
        }