diff options
author | Omar Emara <mail@OmarEmara.dev> | 2022-08-10 11:30:27 +0300 |
---|---|---|
committer | Omar Emara <mail@OmarEmara.dev> | 2022-08-10 11:30:27 +0300 |
commit | 40c45985a924e2e2310d5c51cf399150d557792c (patch) | |
tree | fc38d5846230db8f2d62004600f323d50afce21d /source/blender/makesdna/DNA_node_types.h | |
parent | c014021802c323c3ed55c3c283717975a3d93edf (diff) |
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
Diffstat (limited to 'source/blender/makesdna/DNA_node_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_node_types.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 { |