Class ARBTextureMirrorClampToEdge

java.lang.Object
org.lwjgl.opengl.ARBTextureMirrorClampToEdge

public final class ARBTextureMirrorClampToEdge extends Object
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 Details

    • GL_MIRROR_CLAMP_TO_EDGE

      public static final int GL_MIRROR_CLAMP_TO_EDGE
      Accepted by the param parameter of TexParameter{if}, SamplerParameter{if} and SamplerParameter{if}v, and by the params parameter of TexParameter{if}v, TexParameterI{i ui}v and SamplerParameterI{i ui}v when their pname parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.
      See Also: