|
Blender V5.0
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_ambient_occlusion (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static int | node_shader_gpu_ambient_occlusion (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
| static void | node_shader_init_ambient_occlusion (bNodeTree *, bNode *node) |
|
static |
Definition at line 14 of file node_shader_ambient_occlusion.cc.
References b, blender::nodes::SocketDeclaration::hide_value, and min.
|
static |
Definition at line 23 of file node_shader_ambient_occlusion.cc.
References uiLayout::prop(), ptr, and UI_ITEM_R_SPLIT_EMPTY_NAME.
|
static |
Definition at line 30 of file node_shader_ambient_occlusion.cc.
References bNode::custom1, bNode::custom2, divide_ceil_u(), GPU_constant(), GPU_link(), GPU_material_flag_set(), GPU_MATFLAG_AO, GPU_stack_link(), in, out, and SHD_AO_INSIDE.
|
static |
Definition at line 54 of file node_shader_ambient_occlusion.cc.
References bNode::custom1, and bNode::custom2.