|
Blender V5.3
|
Classes | |
| class | GradientFunction |
Functions | |
| static void | sh_node_tex_gradient_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_tex_gradient (ui::Layout &layout, bContext *, PointerRNA *ptr) |
| static void | node_shader_init_tex_gradient (bNodeTree *, bNode *node) |
| static int | node_shader_gpu_tex_gradient (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
| static void | sh_node_gradient_tex_build_multi_function (NodeMultiFunctionBuilder &builder) |
|
static |
Definition at line 40 of file node_shader_tex_gradient.cc.
References blender::ui::ITEM_R_SPLIT_EMPTY_NAME, node_shader_buts_tex_gradient(), and blender::ui::Layout::prop().
Referenced by node_shader_buts_tex_gradient().
|
static |
Definition at line 55 of file node_shader_tex_gradient.cc.
References blender::GPU_constant(), blender::GPU_stack_link(), blender::NodeTexGradient::gradient_type, blender::gpu::shader::metadata::in, node, blender::node_shader_gpu_default_tex_coord(), node_shader_gpu_tex_gradient(), blender::node_shader_gpu_tex_mapping(), and blender::gpu::shader::metadata::out.
Referenced by node_shader_gpu_tex_gradient().
|
static |
Definition at line 45 of file node_shader_tex_gradient.cc.
References blender::NodeTexGradient::base, blender::BKE_texture_colormapping_default(), blender::BKE_texture_mapping_default(), blender::NodeTexBase::color_mapping, blender::NodeTexGradient::gradient_type, node, node_shader_init_tex_gradient(), blender::SHD_BLEND_LINEAR, blender::NodeTexBase::tex_mapping, and blender::TEXMAP_TYPE_POINT.
Referenced by node_shader_init_tex_gradient().
|
static |
Definition at line 165 of file node_shader_tex_gradient.cc.
References blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn(), blender::NodeTexGradient::gradient_type, blender::nodes::NodeMultiFunctionBuilder::node(), node, and sh_node_gradient_tex_build_multi_function().
Referenced by sh_node_gradient_tex_build_multi_function().
|
static |
Definition at line 26 of file node_shader_tex_gradient.cc.
References b, blender::NODE_DEFAULT_INPUT_POSITION_FIELD, blender::NODE_DEFAULT_INPUT_UNIFORM_IMAGE_COORDINATES, blender::NTREE_COMPOSIT, and sh_node_tex_gradient_declare().
Referenced by sh_node_tex_gradient_declare().