diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-28 15:36:08 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-28 15:36:08 +0300 |
commit | 4690281b17a9b302bd86484703b2389e371c8f07 (patch) | |
tree | 9b60f7ebe59910102c39d84a7d5a106c5517fd4a /intern/cycles/util | |
parent | 3fba620858fa5bf44bec3124c61f6cc2e40356b0 (diff) |
Cycles: Add implementation of clip extension mode
For now there's no OpenCL support, it'll come later.
Diffstat (limited to 'intern/cycles/util')
-rw-r--r-- | intern/cycles/util/util_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/util/util_types.h b/intern/cycles/util/util_types.h index 5198194b652..6f474f873a6 100644 --- a/intern/cycles/util/util_types.h +++ b/intern/cycles/util/util_types.h @@ -479,6 +479,8 @@ enum ExtensionType { EXTENSION_REPEAT = 0, /* Extend by repeating edge pixels of the image. */ EXTENSION_EXTEND = 1, + /* Clip to image size and set exterior pixels as transparent. */ + EXTENSION_CLIP = 2, }; /* macros */ |