Package org.lwjgl.opengl
Class EXTTextureMirrorClamp
java.lang.Object
org.lwjgl.opengl.EXTTextureMirrorClamp
Native bindings to the EXT_texture_mirror_clamp extension.
EXT_texture_mirror_clamp extends the set of texture wrap modes to include three modes (MIRROR_CLAMP_EXT, MIRROR_CLAMP_TO_EDGE_EXT,
MIRROR_CLAMP_TO_BORDER_EXT) that effectively use a texture map twice as large as the original image in which the additional half of the new image is
a mirror image of the original image.
This new mode relaxes the need to generate images whose opposite edges match by using the original image to generate a matching "mirror image". This mode allows the texture to be mirrored only once in the negative s, t, and r directions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAccepted by theparamparameter of TexParameteri and TexParameterf, and by theparamsparameter of TexParameteriv and TexParameterfv, when theirpnameparameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.static final intAccepted by theparamparameter of TexParameteri and TexParameterf, and by theparamsparameter of TexParameteriv and TexParameterfv, when theirpnameparameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.static final intAccepted by theparamparameter of TexParameteri and TexParameterf, and by theparamsparameter of TexParameteriv and TexParameterfv, when theirpnameparameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R. -
Method Summary
-
Field Details
-
GL_MIRROR_CLAMP_EXT
public static final int GL_MIRROR_CLAMP_EXTAccepted by theparamparameter of TexParameteri and TexParameterf, and by theparamsparameter of TexParameteriv and TexParameterfv, when theirpnameparameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.- See Also:
-
GL_MIRROR_CLAMP_TO_EDGE_EXT
public static final int GL_MIRROR_CLAMP_TO_EDGE_EXTAccepted by theparamparameter of TexParameteri and TexParameterf, and by theparamsparameter of TexParameteriv and TexParameterfv, when theirpnameparameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.- See Also:
-
GL_MIRROR_CLAMP_TO_BORDER_EXT
public static final int GL_MIRROR_CLAMP_TO_BORDER_EXTAccepted by theparamparameter of TexParameteri and TexParameterf, and by theparamsparameter of TexParameteriv and TexParameterfv, when theirpnameparameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.- See Also:
-