The SEDRIS Data Representation Model
APPENDIX C - Types SE_Image_Wrap |
---|
/* * REGISTERABLE ENUM: SE_Image_Wrap * * In the context of an <Image Mapping Function> that is used with * <Texture Coordinate> instances, this data type specifies how a * <Texture Coordinate> outside the range of [0.0, 1.0] is to be * interpreted. * * Essentially, this is equivalent to whether the * Specifies if an <Image> is to be clamped or repeated; * indicates design or intended use of the <Image> */typedef SE_Short_Integer SE_Image_Wrap;
Enumerant | Definition | Value |
---|---|---|
SE_IMAGWRAP_CLAMP | Texture coordinates in the image space are clamped to the value range [0.0, 1.0]. Negative texture coordinate values are mapped to 0.0, while values greater than 1.0 are mapped to 1.0. EXAMPLES: 1. The following texture coordinates all map to texture coordinate {0.0, 0.0}: {-1, 0} {-5, -5} {0, -50} 2. The following texture coordinates all map to texture coordinate {1.0, 0.0}: {1, -1} {5, -5} {5, -50} |
1 |
SE_IMAGWRAP_REPEAT | The image space is considered to extend to infinity; it is repeated in a tiled manner. |
2 |
|