Describes texture wrap modes.
You can find more information in comments below.
enum class TextureWrap
{
ClampToBorder, // If coordinates are outside of texture, the border color, which is { 0, 0, 0, 0 }, will be used. Default option
ClampToEdge, // If coordinates are outside of texture, the closest border pixel value will be used
ClampToEdgeMirrored,
Repeat, // If coordinates are outside of texture, texture will be repeated
RepeatMirrored // If coordinates are outside of texture, texture will be repeated and mirrored
};
Namespace: | nitisa |
Include: | Nitisa/Core/TextureWrap.h |