From 40c45985a924e2e2310d5c51cf399150d557792c Mon Sep 17 00:00:00 2001 From: Omar Emara Date: Wed, 10 Aug 2022 10:30:27 +0200 Subject: Realtime Compositor: Add basic distort nodes This patch implements the following nodes for the realtime compositor: - Crop node. - Flip node. - Lens distort node. - Rotate node. - Transform node. - Translate node. Differential Revision: https://developer.blender.org/D15231 Reviewed By: Clement Foucault --- source/blender/makesdna/DNA_node_types.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source/blender/makesdna/DNA_node_types.h') diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index db735cf1b00..6388595a8c2 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -1874,6 +1874,13 @@ typedef enum CMPNodeChannelMatteLimitAlgorithm { CMP_NODE_CHANNEL_MATTE_LIMIT_ALGORITHM_MAX = 1, } CMPNodeChannelMatteLimitAlgorithm; +/* Flip Node. Stored in custom1. */ +typedef enum CMPNodeFlipMode { + CMP_NODE_FLIP_X = 0, + CMP_NODE_FLIP_Y = 1, + CMP_NODE_FLIP_X_Y = 2, +} CMPNodeFlipMode; + /* Plane track deform node. */ enum { -- cgit v1.2.3