Inertia's picture

Enum: Point Parameters & Sprites (Version14/20) [done!]

http://www.opengl.org/registry/specs/ARB/point_parameters.txt
http://opengl.org/registry/specs/ARB/point_sprite.txt

Affected Functions:

old: GL.PointParameter( Version14 pname, XXXXX );
new: GL.PointParameter( PointParameterName pname, XXXXX );

The XXXXX marks unmodified parameters.

        public enum PointParameterName : int
        {
            PointSizeMin = ( (int) 0x8126 ),
            PointSizeMax = ( (int) 0x8127 ),
            PointFadeThresholdSize = ( (int) 0x8128 ),
            PointDistanceAttenuation = ( (int) 0x8129 ), // this token is only accepted by GL.PointParameterv not GL.PointParameter
        }
 
        // add to Enum: EnableCap
        PointSprite = ( (int) 0x8861 ),
 
        // add to Enum: TextureEnvTarget
        PointSprite = ( (int) 0x8861 ),
 
        // add to Enums: TextureEnvParameter
        CoordReplace = ( (int) 0x8862 ),
 
///<summary>This Enum may only be used with GL.TexEnv if target is PointSprite and pname is CoordReplace.</summary>
        public enum TextureEnvModePointSprite
        {
            True = (int) All.True,
            False = (int) All.False,
        }
 
        // add to Enum: GetPName
        PointSizeMin = ( (int) 0x8126 ),
        PointSizeMax = ( (int) 0x8127 ),
        PointFadeThresholdSize = ( (int) 0x8128 ),
        PointDistanceAttenuation = ( (int) 0x8129 ),
        PointSprite = ( (int) 0x8861 ),