Mount Fuji Engine  0.8b

Texture addressing modes.

Enumerator
MFTexAddressMode_Unknown 

Unknown texture address mode.

MFTexAddressMode_Wrap 

Tile the texture at every (u,v) integer junction.

For example, for u values between 0 and 3, the texture is repeated three times.

MFTexAddressMode_Mirror 

Flip the texture at every (u,v) integer junction.

For u values between 0 and 1, for example, the texture is addressed normally; between 1 and 2, the texture is flipped (mirrored); between 2 and 3, the texture is normal again; and so on.

MFTexAddressMode_Clamp 

Texture coordinates outside the range [0.0, 1.0] are set to the texture colour at 0.0 or 1.0, respectively.

MFTexAddressMode_Border 

Texture coordinates outside the range [0.0, 1.0] are set to the border colour specified in the active MFSamplerState or shader code.

MFTexAddressMode_MirrorOnce 

Similar to MFTexAddressMode_Mirror and MFTexAddressMode_Clamp.

Takes the absolute value of the texture coordinate (thus, mirroring around 0), and then clamps to the maximum value.

MFTexAddressMode_Max 

Maximum address mode.

MFTexAddressMode_ForceInt 

Force MFTexAddressMode to an int type.