summaryrefslogtreecommitdiff
path: root/core/variant_call.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-06-07 12:23:12 +0200
committerRémi Verschelde <remi@verschelde.fr>2016-06-07 12:23:12 +0200
commitbf98095f46c4d9dbe55c0d07582d9f073f2f7405 (patch)
tree3a58a1e8550592c78eb25647abdc6f3053bc706f /core/variant_call.cpp
parentaed547423825af99fbd5112c39c7e3c33fc2200f (diff)
parentec96e36bc9c2884226bd5a546e7b9717988022cd (diff)
Merge pull request #5083 from J08nY/classref
Added classref for Image, ImageTexture, LargeTexture
Diffstat (limited to 'core/variant_call.cpp')
-rw-r--r--core/variant_call.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp
index eb3ab65f40..d427a80541 100644
--- a/core/variant_call.cpp
+++ b/core/variant_call.cpp
@@ -1663,6 +1663,9 @@ _VariantCall::addfunc(Variant::m_vtype,Variant::m_ret,_SCS(#m_method),VCALL(m_cl
_VariantCall::constant_data[Variant::IMAGE].value["FORMAT_ATC_ALPHA_INTERPOLATED"]=Image::FORMAT_ATC_ALPHA_INTERPOLATED;
_VariantCall::constant_data[Variant::IMAGE].value["FORMAT_CUSTOM"]=Image::FORMAT_CUSTOM;
+ _VariantCall::constant_data[Variant::IMAGE].value["INTERPOLATE_NEAREST"]=Image::INTERPOLATE_NEAREST;
+ _VariantCall::constant_data[Variant::IMAGE].value["INTERPOLATE_BILINEAR"]=Image::INTERPOLATE_BILINEAR;
+ _VariantCall::constant_data[Variant::IMAGE].value["INTERPOLATE_CUBIC"]=Image::INTERPOLATE_CUBIC;
}
void unregister_variant_methods() {