Blender V5.3
node_shader_util.cc File Reference
#include <optional>
#include "DNA_node_types.h"
#include "DNA_space_types.h"
#include "BLI_math_rotation_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_string.hh"
#include "BKE_context.hh"
#include "BKE_node_runtime.hh"
#include "IMB_colormanagement.hh"
#include "node_shader_util.hh"
#include "NOD_socket_search_link.hh"
#include "RE_engine.h"
#include "node_exec.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::bke

Functions

bool blender::sh_node_poll_default (const bke::bNodeType *, const bNodeTree *ntree, const char **r_disabled_hint)
static bool blender::sh_geo_poll_default (const bke::bNodeType *, const bNodeTree *ntree, const char **r_disabled_hint)
static bool blender::common_poll_default (const bke::bNodeType *, const bNodeTree *ntree, const char **r_disabled_hint)
void blender::sh_node_type_base (bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
void blender::sh_geo_node_type_base (bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
void blender::common_node_type_base (bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
bool blender::line_style_shader_nodes_poll (const bContext *C)
bool blender::world_shader_nodes_poll (const bContext *C)
bool blender::object_shader_nodes_poll (const bContext *C)
bool blender::object_cycles_shader_nodes_poll (const bContext *C)
bool blender::object_eevee_shader_nodes_poll (const bContext *C)
static void blender::nodestack_get_vec (float *in, short type_in, bNodeStack *ns)
void blender::node_gpu_stack_from_data (GPUNodeStack *gs, bNodeSocket *socket, bNodeStack *ns)
void blender::node_data_from_gpu_stack (bNodeStack *ns, GPUNodeStack *gs)
static void blender::gpu_stack_from_data_list (GPUNodeStack *gs, ListBaseT< bNodeSocket > *sockets, bNodeStack **ns)
static void blender::data_from_gpu_stack_list (ListBaseT< bNodeSocket > *sockets, bNodeStack **ns, GPUNodeStack *gs)
static bNode * blender::node_get_active (bNodeTree *ntree, int sub_activity)
void blender::ntreeExecGPUNodes (bNodeTreeExec *exec, GPUMaterial *mat, bNode *output_node, const int *depth_level)
void blender::node_shader_gpu_bump_tex_coord (GPUMaterial *mat, bNode *, GPUNodeLink **link)
void blender::node_shader_gpu_default_tex_coord (GPUMaterial *mat, bNode *node, GPUNodeLink **link)
void blender::node_shader_gpu_tex_mapping (GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *)
void blender::get_XYZ_to_RGB_for_gpu (XYZ_to_RGB *data)
void blender::search_link_ops_for_shader_bsdf_node (nodes::GatherLinkSearchOpParams &params)
void blender::search_link_ops_for_shader_material_lighting_node (nodes::GatherLinkSearchOpParams &params)
Generic API, Nodes
bNode * blender::bke::node_get_active_texture (bNodeTree &ntree)
Node Tree
bNode * blender::bke::node_get_active_paint_canvas (bNodeTree &ntree)