Inertia's picture

Enum: Mirrored Repeat & Clamp Border (Version14) [done!]

http://opengl.org/registry/specs/ARB/texture_mirrored_repeat.txt

this also covers: http://opengl.org/registry/specs/ARB/texture_border_clamp.txt

No EnableCap affected.

Quote: "TEXTURE_WRAP_S integer CLAMP, CLAMP_TO_EDGE, REPEAT, CLAMP_TO_BORDER_ARB, MIRRORED_REPEAT_ARB"

The enum TextureWrapMode should look like this:

public enum TextureWrapMode : int
        {
            Clamp = ( (int) 0x2900 ),
            ClampToEdge = ( (int) All.ClampToEdge ),
            Repeat = ( (int) 0x2901 ),
            ClampToBorder = ( (int) All.ClampToBorder ),
            MirroredRepeat = ( (int) 0x8370 ),
        }

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Inertia's picture

currently (Alpha 0.9.0) available:

TextureWrapMode.Clamp
TextureWrapMode.MirroredRepeat
TextureWrapMode.Repeat

Missing:

ClampToEdge = ( (int) All.ClampToEdge ),
ClampToBorder = ( (int) All.ClampToBorder ),

I've checked the values, those are 5 different modes.

Edit: Note to self: http://www.opengl.org/registry/specs/ATI/texture_mirror_once.txt

the Fiddler's picture

Oops, missed those. Will fix :)

Edit: fixed.