Enum: Mirrored Repeat & Clamp Border (Version14) [done!]
Posted Monday, 31 December, 2007 - 15:56 by Inertia in
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 ),
}
{
Clamp = ( (int) 0x2900 ),
ClampToEdge = ( (int) All.ClampToEdge ),
Repeat = ( (int) 0x2901 ),
ClampToBorder = ( (int) All.ClampToBorder ),
MirroredRepeat = ( (int) 0x8370 ),
}




Comments
Jan 31
20:09:00currently (Alpha 0.9.0)
posted by Inertiacurrently (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
Feb 01
11:25:00Oops, missed those. Will fix
posted by the FiddlerOops, missed those. Will fix :)
Edit: fixed.