Inertia's picture

Enum: EXT Secondary Color (Version14) [done!]

http://www.opengl.org/registry/specs/EXT/secondary_color.txt

        // add to Enum: EnableCap
        ColorSum = ( (int) 0x8458 ), // GL.Enable
        SecondaryColorArray = ( (int) 0x845e ), // GL.EnableClientState
 
        // add to Enum : GetPName
        ColorSum = ( (int) 0x8458 ),
        CurrentSecondaryColor = ( (int) 0x8459 ),
        SecondaryColorArraySize = ( (int) 0x845a ),
        SecondaryColorArrayType = ( (int) 0x845b ),
        SecondaryColorArrayStride = ( (int) 0x845c ),
 
        // add to Enum: GetPointervPName
        SecondaryColorArrayPointer = ( (int) 0x845d ),

Note: It might be best to split EnableCap into 2 enums, to make it more obvious what enables affect server/client states. I'm not certain if GL.IsEnabled() can be used with client states too (redbook only lists server states) this should be verified if Enablecap can really be split into 2, and not 3 enums. (Imho rather 2 than 1, but rather 1 than 3)