Re: [Vala] GLX (OpenGL Extension to the X Window System) binding!!




I understand, but it looks a bit out-of-place in Vala, where each common
prefix has disappeared into the namespaces (except for gl functions
apparently).

I would be happy to have a binding with constants grouping like this :

namespace GLX
{
    public enum ConfigMode
    {
        RGBA   //GLX_RGBA
    }

to use it like this:

using GLX;

a = ConfigMode.RGBA;

But i can't because i don't know how to group the constants in enums (including the constants in gl an glu).

The gl.vapi and glu.vapi also is coded like glx.vapi.

Matias


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]