Assimp
v3.1.1 (June 2014)
|
Defines how UV coordinates outside the [0...1] range are handled. More...
Static Public Member Functions | |
static AiTextureMapMode | fromRawValue (int rawValue) |
Utility method for converting from c/c++ based integer enums to java enums. More... | |
Public Attributes | |
CLAMP =(0x1) | |
Texture coordinates outside [0...1] are clamped to the nearest valid value. More... | |
DECAL =(0x3) | |
If the texture coordinates for a pixel are outside [0...1] the texture is not applied to that pixel. More... | |
MIRROR =(0x2) | |
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. More... | |
WRAP =(0x0) | |
A texture coordinate u|v is translated to u%1|v%1. More... | |
Defines how UV coordinates outside the [0...1] range are handled.
Commonly referred to as 'wrapping mode'.
|
inlinestatic |
Utility method for converting from c/c++ based integer enums to java enums.
This method is intended to be used from JNI and my change based on implementation needs.
rawValue | an integer based enum value (as defined by assimp) |
jassimp.AiTextureMapMode.CLAMP =(0x1) |
Texture coordinates outside [0...1] are clamped to the nearest valid value.
jassimp.AiTextureMapMode.DECAL =(0x3) |
If the texture coordinates for a pixel are outside [0...1] the texture is not applied to that pixel.
jassimp.AiTextureMapMode.MIRROR =(0x2) |
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.
jassimp.AiTextureMapMode.WRAP =(0x0) |
A texture coordinate u|v is translated to u%1|v%1.