M3D / M3D / Render / TextureMapMode
Enumeration: TextureMapMode
Memberof
M3D.Render
Description
纹理集合枚举
Table of contents
Enumeration Members
- TextureMapMode_Clamp
- TextureMapMode_Decal
- TextureMapMode_Mirror
- TextureMapMode_Wrap
- textureMapMode_Clamp
- textureMapMode_Decal
- textureMapMode_Mirror
- textureMapMode_Wrap
Enumeration Members
TextureMapMode_Clamp
• TextureMapMode_Clamp = 1
Texture coordinates outside [0...1] are clamped to the nearest valid value.
TextureMapMode_Decal
• TextureMapMode_Decal = 3
If the texture coordinates for a pixel are outside [0...1] the texture is not applied to that pixel
TextureMapMode_Mirror
• TextureMapMode_Mirror = 2
A texture coordinate u|v becomes u%1|v%1 if (u-(u%1))%2 is zero and 1-(u%1)|1-(v%1) otherwise
TextureMapMode_Wrap
• TextureMapMode_Wrap = 0
A texture coordinate u|v is translated to u%1|v%1
textureMapMode_Clamp
• textureMapMode_Clamp = 1
Texture coordinates outside [0...1] are clamped to the nearest valid value.
textureMapMode_Decal
• textureMapMode_Decal = 3
If the texture coordinates for a pixel are outside [0...1] the texture is not applied to that pixel
textureMapMode_Mirror
• textureMapMode_Mirror = 2
A texture coordinate u|v becomes u%1|v%1 if (u-(u%1))%2 is zero and 1-(u%1)|1-(v%1) otherwise
textureMapMode_Wrap
• textureMapMode_Wrap = 0
A texture coordinate u|v is translated to u%1|v%1