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

Functions

static void node_declare (NodeDeclarationBuilder &b)
 
static void node_shader_init_volume_principled (bNodeTree *UNUSED(ntree), bNode *node)
 
static void attribute_post_process (GPUMaterial *mat, const char *attribute_name, GPUNodeLink **attribute_link)
 
static int node_shader_gpu_volume_principled (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 

Function Documentation

◆ attribute_post_process()

static void blender::nodes::node_shader_volume_principled_cc::attribute_post_process ( GPUMaterial mat,
const char *  attribute_name,
GPUNodeLink **  attribute_link 
)
static

Definition at line 48 of file node_shader_volume_principled.cc.

References GPU_link(), and STREQ.

Referenced by node_shader_gpu_volume_principled().

◆ node_declare()

static void blender::nodes::node_shader_volume_principled_cc::node_declare ( NodeDeclarationBuilder b)
static

Definition at line 10 of file node_shader_volume_principled.cc.

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

Referenced by register_node_type_sh_volume_principled().

◆ node_shader_gpu_volume_principled()

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

◆ node_shader_init_volume_principled()

static void blender::nodes::node_shader_volume_principled_cc::node_shader_init_volume_principled ( bNodeTree UNUSEDntree,
bNode node 
)
static

Definition at line 36 of file node_shader_volume_principled.cc.

References LISTBASE_FOREACH, node, and STREQ.

Referenced by register_node_type_sh_volume_principled().