Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_texture_types.h
| Show First 20 Lines • Show All 394 Lines • ▼ Show 20 Lines | |||||
| #define TEX_RGB (1 << 0) | #define TEX_RGB (1 << 0) | ||||
| #define TEX_NOR (1 << 1) | #define TEX_NOR (1 << 1) | ||||
| /* pr_texture in material, world, light. */ | /* pr_texture in material, world, light. */ | ||||
| #define TEX_PR_TEXTURE 0 | #define TEX_PR_TEXTURE 0 | ||||
| #define TEX_PR_OTHER 1 | #define TEX_PR_OTHER 1 | ||||
| #define TEX_PR_BOTH 2 | #define TEX_PR_BOTH 2 | ||||
| /* ************** IMAGE TEXTURE ************** */ | |||||
| /** | |||||
| * Image Texture Interpolation Types | |||||
| */ | |||||
| typedef enum ImageTextureInterpolationType { | |||||
| IMAGE_TEX_INTERP_LINEAR = 0, | |||||
| IMAGE_TEX_INTERP_CLOSEST = 1, | |||||
| IMAGE_TEX_INTERP_CUBIC = 2, | |||||
| IMAGE_TEX_INTERP_SMART = 3, | |||||
| IMAGE_TEX_INTERP_NUM_TYPES, | |||||
| } ImageTextureInterpolationType; | |||||
| /** | |||||
| * Image Texture Extension Types | |||||
| * - Determines how the image is extrapolated past its original bounds. | |||||
| */ | |||||
| typedef enum ImageTextureExtensionType { | |||||
| /* Extend the image by repeating the entire image. */ | |||||
| IMAGE_TEX_EXT_REPEAT = 0, | |||||
| /* Extend the image by only repeating the edge pixels of the image. */ | |||||
| IMAGE_TEX_EXT_EXTEND = 1, | |||||
| /* Extend the image by setting all exterior pixels to transparent black. */ | |||||
| IMAGE_TEX_EXT_CLIP = 2, | |||||
| IMAGE_TEX_EXT_NUM_TYPES, | |||||
| } ImageTextureExtensionType; | |||||
| /* **************** MTEX ********************* */ | /* **************** MTEX ********************* */ | ||||
| /* proj */ | /* proj */ | ||||
| #define PROJ_N 0 | #define PROJ_N 0 | ||||
| #define PROJ_X 1 | #define PROJ_X 1 | ||||
| #define PROJ_Y 2 | #define PROJ_Y 2 | ||||
| #define PROJ_Z 3 | #define PROJ_Z 3 | ||||
| ▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines | |||||