12 .default_value({0.8f, 0.8f, 0.8f, 1.0f})
13 .description(
"Color of the emitted light");
42 ntype.
declare = file_ns::node_declare;
44 ntype.
gpu_fn = file_ns::node_shader_gpu_background;
#define NODE_CLASS_SHADER
bool GPU_stack_link(GPUMaterial *mat, const bNode *node, const char *name, GPUNodeStack *in, GPUNodeStack *out,...)
local_group_size(16, 16) .push_constant(Type b
void node_register_type(bNodeType *ntype)
static void node_declare(NodeDeclarationBuilder &b)
static int node_shader_gpu_background(GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_background()
void sh_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
bool world_shader_nodes_poll(const bContext *C)
bool(* add_ui_poll)(const bContext *C)
NodeGPUExecFunction gpu_fn
NodeDeclareFunction declare