Blender  V2.93
Functions | Variables
node_composite_switchview.c File Reference
#include "BKE_context.h"
#include "BKE_lib_id.h"
#include "../node_composite_util.h"

Go to the source code of this file.

Functions

static bNodeSocketntreeCompositSwitchViewAddSocket (bNodeTree *ntree, bNode *node, const char *name)
 
static void cmp_node_switch_view_sanitycheck (bNodeTree *ntree, bNode *node)
 
static void cmp_node_switch_view_update (bNodeTree *ntree, bNode *node)
 
static void init_switch_view (const bContext *C, PointerRNA *ptr)
 
void register_node_type_cmp_switch_view (void)
 

Variables

static bNodeSocketTemplate cmp_node_switch_view_out []
 

Function Documentation

◆ cmp_node_switch_view_sanitycheck()

static void cmp_node_switch_view_sanitycheck ( bNodeTree ntree,
bNode node 
)
static

◆ cmp_node_switch_view_update()

static void cmp_node_switch_view_update ( bNodeTree ntree,
bNode node 
)
static

◆ init_switch_view()

static void init_switch_view ( const bContext C,
PointerRNA ptr 
)
static

◆ ntreeCompositSwitchViewAddSocket()

static bNodeSocket* ntreeCompositSwitchViewAddSocket ( bNodeTree ntree,
bNode node,
const char *  name 
)
static

◆ register_node_type_cmp_switch_view()

void register_node_type_cmp_switch_view ( void  )

Variable Documentation

◆ cmp_node_switch_view_out

bNodeSocketTemplate cmp_node_switch_view_out[]
static
Initial value:
= {
{SOCK_RGBA, N_("Image"), 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{-1, ""},
}
#define N_(msgid)
@ SOCK_RGBA

Definition at line 31 of file node_composite_switchview.c.

Referenced by register_node_type_cmp_switch_view().