WebGL
Khronos
 

WebGL EXT_texture_mirror_clamp_to_edge Extension Specification

Name

EXT_texture_mirror_clamp_to_edge

Contact

WebGL working group (public_webgl 'at' khronos.org)

Contributors

Members of the WebGL working group

Version

Last modified date: January 25, 2024
Revision: 2

Number

WebGL extension #62

Dependencies

Written against the WebGL API 1.0 specification.

Overview

This extension exposes the EXT_texture_mirror_clamp_to_edge functionality to WebGL.

There are no WebGL-specific behavioral changes.

Consult the above extension for documentation, issues and new functions and enumerants.

IDL

[Exposed=(Window,Worker), LegacyNoInterfaceObject]
interface EXT_texture_mirror_clamp_to_edge {
    const GLenum MIRROR_CLAMP_TO_EDGE_EXT = 0x8743;
};
  

New Tokens

undefined texParameterf(GLenum target, GLenum pname, GLfloat param)
A new enum MIRROR_CLAMP_TO_EDGE_EXT is accepted as the param parameter when pname is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.
undefined texParameteri(GLenum target, GLenum pname, GLint param)
A new enum MIRROR_CLAMP_TO_EDGE_EXT is accepted as the param parameter when pname is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.
undefined samplerParameterf(WebGLSampler sampler, GLenum pname, GLfloat param)
A new enum MIRROR_CLAMP_TO_EDGE_EXT is accepted as the param parameter when pname is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.
undefined samplerParameteri(WebGLSampler sampler, GLenum pname, GLint param)
A new enum MIRROR_CLAMP_TO_EDGE_EXT is accepted as the param parameter when pname is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.

Revision History

Revision 1, 2023/06/01

Revision 2, 2024/01/25