PixelLightAPI
.
|
Texture addressing modes. More...
#include <Types.h>
Public Types | |
enum | Enum { Clamp = 0, Border = 1, Wrap = 2, Mirror = 3, Number = 4, Unknown = 5 } |
Public Member Functions | |
pl_enum (Enum) pl_enum_value(Clamp | |
Texture coordinates outside the range[0.0, 1.0] are set to the texture color at respectively | pl_enum_value (Border,"Texture coordinates outside the range [0.0, 1.0] are set to the border color.") pl_enum_value(Wrap |
Public Attributes | |
Texture coordinates outside the range[0.0, 1.0] are set to the texture color at | or |
Texture coordinates outside the range[0.0, 1.0] are set to the texture color at respectively Tile the texture at every integer junction For | example |
Texture coordinates outside the range[0.0, 1.0] are set to the texture color at respectively Tile the texture at every integer junction For for u values between | and |
Texture coordinates outside the range[0.0, 1.0] are set to the texture color at respectively Tile the texture at every integer junction For for u values between the texture is repeated three | times |
Texture addressing modes.
Clamp |
Texture coordinates outside the range [0.0, 1.0] are set to the texture color at 0.0 or 1.0, respectively. |
Border |
Texture coordinates outside the range [0.0, 1.0] are set to the border color. |
Wrap |
Tile the texture at every integer junction. For example, for u values between 0 and 3, the texture is repeated three times; no mirroring is performed. |
Mirror |
Similar to Wrap, except that the texture is flipped at every 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. |
Number |
Number of texture-addressing modes |
Unknown |
Unknown texture-addressing mode |
Texture coordinates outside the range [0.0, 1.0] are set to the texture color at respectively PLRenderer::TextureAddressing::pl_enum_value | ( | Border | , |
"Texture coordinates outside the range are set to the border color." | [0.0, 1.0] | ||
) |
Texture coordinates outside the range [0.0, 1.0] are set to the texture color at PLRenderer::TextureAddressing::or |
Texture coordinates outside the range [0.0, 1.0] are set to the texture color at respectively Tile the texture at every integer junction For PLRenderer::TextureAddressing::example |
Texture coordinates outside the range [0.0, 1.0] are set to the texture color at respectively Tile the texture at every integer junction For for u values between PLRenderer::TextureAddressing::and |
Texture coordinates outside the range [0.0, 1.0] are set to the texture color at respectively Tile the texture at every integer junction For for u values between the texture is repeated three PLRenderer::TextureAddressing::times |
|