From 4690281b17a9b302bd86484703b2389e371c8f07 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 28 Jul 2015 14:36:08 +0200 Subject: Cycles: Add implementation of clip extension mode For now there's no OpenCL support, it'll come later. --- intern/cycles/util/util_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern/cycles/util') 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 */ -- cgit v1.2.3