KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches

Enable or disable U/V flipping on the PVR More...

Enumerations

enum  pvr_uv_flip_t { PVR_UVFLIP_NONE , PVR_UVFLIP_V , PVR_UVFLIP_U , PVR_UVFLIP_UV }
 

Detailed Description

Enable or disable U/V flipping on the PVR

These flags determine what happens when U/V coordinate values exceed 1.0. In any of the flipped cases, the specified coordinate value will flip around after 1.0, essentially mirroring the image. So, if you displayed an image with a U coordinate of 0.0 on the left hand side and 2.0 on the right hand side with U flipping turned on, you'd have an image that was displayed twice as if mirrored across the middle. This mirroring behavior happens at every unit boundary (so at 2.0 it returns to normal, at 3.0 it flips, etc).

The default case is to disable mirroring. In addition, clamping of the U/V coordinates by PVR_UVCLAMP_U, PVR_UVCLAMP_V, or PVR_UVCLAMP_UV will disable the mirroring behavior.

Enumeration Type Documentation

◆ pvr_uv_flip_t

Enumerator
PVR_UVFLIP_NONE 

No flipped coordinates.

PVR_UVFLIP_V 

Flip V only.

PVR_UVFLIP_U 

Flip U only.

PVR_UVFLIP_UV 

Flip U and V.