Blender V5.0
blender::nodes::node_shader_bsdf_principled_cc Namespace Reference

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void node_shader_init_principled (bNodeTree *, bNode *node)
static bool might_have_tinted_specular (const GPUNodeStack &base_color, const GPUNodeStack &metallic, const GPUNodeStack &specular_tint)
static int node_shader_gpu_bsdf_principled (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out)
static void node_shader_update_principled (bNodeTree *ntree, bNode *node)

Function Documentation

◆ might_have_tinted_specular()

bool blender::nodes::node_shader_bsdf_principled_cc::might_have_tinted_specular ( const GPUNodeStack & base_color,
const GPUNodeStack & metallic,
const GPUNodeStack & specular_tint )
static

◆ node_declare()

◆ node_shader_gpu_bsdf_principled()

◆ node_shader_init_principled()

void blender::nodes::node_shader_bsdf_principled_cc::node_shader_init_principled ( bNodeTree * ,
bNode * node )
static

◆ node_shader_update_principled()

void blender::nodes::node_shader_bsdf_principled_cc::node_shader_update_principled ( bNodeTree * ntree,
bNode * node )
static