Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/util/util_types.h
| Show First 20 Lines • Show All 444 Lines • ▼ Show 20 Lines | #else | ||||
| int4 a = {(int)f.x, (int)f.y, (int)f.z, (int)f.w}; | int4 a = {(int)f.x, (int)f.y, (int)f.z, (int)f.w}; | ||||
| #endif | #endif | ||||
| return a; | return a; | ||||
| } | } | ||||
| #endif | #endif | ||||
| /* Interpolation types for textures | |||||
| * cuda also use texture space to store other objects */ | |||||
| enum InterpolationType { | |||||
| INTERPOLATION_NONE = -1, | |||||
| INTERPOLATION_LINEAR = 0, | |||||
| INTERPOLATION_CLOSEST = 1, | |||||
| INTERPOLATION_CUBIC = 2, | |||||
| INTERPOLATION_SMART = 3, | |||||
| }; | |||||
| CCL_NAMESPACE_END | CCL_NAMESPACE_END | ||||
| #endif /* __UTIL_TYPES_H__ */ | #endif /* __UTIL_TYPES_H__ */ | ||||