Contents
- Dependencies
- Overview
- New Tokens
- Errors
- New State
- New Implementation Dependent State
Dependencies
GL_EXT_texture3D
Overview
ATI_texture_mirror_once extends the set of texture wrap modes to include two modes (GL_MIRROR_CLAMP_ATI, GL_MIRROR_CLAMP_TO_EDGE_ATI) 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.
New Tokens
Accepted by the
<param>
parameter of TexParameteri and TexParameterf, and by the
<params>
parameter of TexParameteriv and TexParameterfv, when their
<pname>
parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R_EXT:
|MIRROR_CLAMP_ATI | 0x8742| |:------------------------------|:-------------| |MIRROR_CLAMP_TO_EDGE_ATI | 0x8743 |
Errors
None
New State
Only the type information changes for these parameters:
| Get Value | Get Command | Type | Initial Value | |:--------------|:----------------|:---------|:------------------| |TEXTURE_WRAP_S | GetTexParameteriv | n x Z5 | REPEAT | |TEXTURE_WRAP_T | GetTexParameteriv | n x Z5 | REPEAT | |TEXTURE_WRAP_R_EXT | GetTexParameteriv | n x Z5 | REPEAT |
New Implementation Dependent State
None