Skip to content

CF_WrapMode

Category: graphics
GitHub: cute_graphics.h


Wrap modes to define behavior when addressing a texture beyond the [0,1] range.

Values

Enum Description
WRAP_MODE_REPEAT Repeats the image.
WRAP_MODE_CLAMP_TO_EDGE Clamps a UV coordinate to the nearest edge pixel.
WRAP_MODE_MIRRORED_REPEAT The same as CF_WRAP_MODE_REPEAT but mirrors back and forth.

CF_TextureParams
cf_wrap_mode_string