Package org.lwjgl.opengl
Class ARBTextureMirrorClampToEdge
java.lang.Object
org.lwjgl.opengl.ARBTextureMirrorClampToEdge
Native bindings to the ARB_texture_mirror_clamp_to_edge extension.
ARB_texture_mirror_clamp_to_edge extends the set of texture wrap modes to include an additional mode (MIRROR_CLAMP_TO_EDGE
) that effectively uses 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.
Requires OpenGL 1.4
. Promoted to core in OpenGL 4.4
.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Accepted by theparam
parameter of TexParameter{if}, SamplerParameter{if} and SamplerParameter{if}v, and by theparams
parameter of TexParameter{if}v, TexParameterI{i ui}v and SamplerParameterI{i ui}v when theirpname
parameter isTEXTURE_WRAP_S
,TEXTURE_WRAP_T
, orTEXTURE_WRAP_R
. -
Method Summary
-
Field Details
-
GL_MIRROR_CLAMP_TO_EDGE
public static final int GL_MIRROR_CLAMP_TO_EDGEAccepted by theparam
parameter of TexParameter{if}, SamplerParameter{if} and SamplerParameter{if}v, and by theparams
parameter of TexParameter{if}v, TexParameterI{i ui}v and SamplerParameterI{i ui}v when theirpname
parameter isTEXTURE_WRAP_S
,TEXTURE_WRAP_T
, orTEXTURE_WRAP_R
.- See Also:
-