Blender V5.3
node_shader_util.hh File Reference
#include <cfloat>
#include <optional>
#include "BLI_listbase.hh"
#include "BLI_math_constants.hh"
#include "BKE_node.hh"
#include "BKE_node_legacy_types.hh"
#include "DNA_node_types.h"
#include "GPU_material.hh"
#include "NOD_socket_declarations.hh"
#include "node_shader_register.hh"

Go to the source code of this file.

Classes

struct  blender::XYZ_to_RGB

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define NODE_SHADER_MATERIALX_BEGIN   bke::NodeMaterialXFunction node_shader_materialx = nullptr;
#define NODE_SHADER_MATERIALX_END

Functions

bool blender::sh_node_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)
void blender::node_gpu_stack_from_data (GPUNodeStack *gs, bNodeSocket *socket, bNodeStack *ns)
void blender::node_data_from_gpu_stack (bNodeStack *ns, GPUNodeStack *gs)
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 *)
bNodeTreeExec * blender::ntreeShaderBeginExecTree_internal (bNodeExecContext *context, bNodeTree *ntree, bNodeInstanceKey parent_key)
void blender::ntreeShaderEndExecTree_internal (bNodeTreeExec *exec)
void blender::ntreeExecGPUNodes (bNodeTreeExec *exec, GPUMaterial *mat, bNode *output_node, const int *depth_level)
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)

Macro Definition Documentation

◆ NODE_SHADER_MATERIALX_BEGIN

#define NODE_SHADER_MATERIALX_BEGIN   bke::NodeMaterialXFunction node_shader_materialx = nullptr;

Definition at line 31 of file node_shader_util.hh.

◆ NODE_SHADER_MATERIALX_END

#define NODE_SHADER_MATERIALX_END

Definition at line 32 of file node_shader_util.hh.