rpr_image_wrap_type
Usage
Type options for RPR_IMAGE_WRAP
.
Possible Values
Name |
Value |
Brief Explanation |
---|---|---|
RPR_IMAGE_WRAP_TYPE_REPEAT |
0x1 |
Repeat the texture if UV is outside [0, 1]. |
RPR_IMAGE_WRAP_TYPE_MIRRORED_REPEAT |
0x2 |
Mirror the texture on UV. |
RPR_IMAGE_WRAP_TYPE_CLAMP_TO_EDGE |
0x3 |
All UV outside [0, 1] clamp to nearest texture value. |
RPR_IMAGE_WRAP_TYPE_CLAMP_ZERO |
0x5 |
All UV outside [0, 1] are black. |
RPR_IMAGE_WRAP_TYPE_CLAMP_ONE |
0x6 |
All UV outside [0, 1] are white. |