PixelLightAPI  .
Public Types | Public Member Functions | Public Attributes
PLRenderer::TextureAddressing Class Reference

Texture addressing modes. More...

#include <Types.h>

List of all members.

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

Detailed Description

Texture addressing modes.


Member Enumeration Documentation

Enumerator:
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


Member Function Documentation

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] 
)

Member Data Documentation

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

The documentation for this class was generated from the following file:


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:24
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported