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

Functions

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

Function Documentation

◆ gpu_shader_rgbtobw()

static int blender::nodes::node_shader_rgb_to_bw_cc::gpu_shader_rgbtobw ( GPUMaterial mat,
bNode node,
bNodeExecData UNUSEDexecdata,
GPUNodeStack in,
GPUNodeStack out 
)
static

Definition at line 20 of file node_shader_rgb_to_bw.cc.

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

Referenced by register_node_type_sh_rgbtobw().

◆ sh_node_rgbtobw_declare()

static void blender::nodes::node_shader_rgb_to_bw_cc::sh_node_rgbtobw_declare ( NodeDeclarationBuilder b)
static

Definition at line 14 of file node_shader_rgb_to_bw.cc.

References usdtokens::b(), and N_.

Referenced by register_node_type_sh_rgbtobw().