Blender  V3.3
Functions
blender::nodes::node_shader_invert_cc Namespace Reference

Functions

static void node_declare (NodeDeclarationBuilder &b)
 
static int gpu_shader_invert (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 

Function Documentation

◆ gpu_shader_invert()

static int blender::nodes::node_shader_invert_cc::gpu_shader_invert ( GPUMaterial *  mat,
bNode *  node,
bNodeExecData *  UNUSEDexecdata,
GPUNodeStack *  in,
GPUNodeStack *  out 
)
static

Definition at line 19 of file node_shader_invert.cc.

References GPU_stack_link(), node, and usdtokens::out().

Referenced by register_node_type_sh_invert().

◆ node_declare()

static void blender::nodes::node_shader_invert_cc::node_declare ( NodeDeclarationBuilder &  b)
static

Definition at line 12 of file node_shader_invert.cc.

References usdtokens::b(), N_, and PROP_FACTOR.

Referenced by register_node_type_sh_invert().