|
Blender
V2.93
|
#include "../node_shader_util.h"Go to the source code of this file.
Functions | |
| static void | node_shader_init_attribute (bNodeTree *UNUSED(ntree), bNode *node) |
| static int | node_shader_gpu_attribute (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
| void | register_node_type_sh_attribute (void) |
Variables | |
| static bNodeSocketTemplate | sh_node_attribute_out [] |
|
static |
Definition at line 38 of file node_shader_attribute.c.
References CD_AUTO_FROM_NAME, GPU_attribute(), GPU_constant(), GPU_material_is_volume_shader(), GPU_stack_link(), GPU_uniform_attribute(), GPU_VOLUME_DEFAULT_0, GPU_volume_grid(), GPUNodeStack::link, NodeShaderAttribute::name, node, node_shader_gpu_bump_tex_coord(), sh_node_attribute_out, SHD_ATTRIBUTE_GEOMETRY, SHD_ATTRIBUTE_INSTANCER, bNodeSocketTemplate::type, and NodeShaderAttribute::type.
Referenced by register_node_type_sh_attribute().
Definition at line 32 of file node_shader_attribute.c.
References MEM_callocN, and node.
Referenced by register_node_type_sh_attribute().
| void register_node_type_sh_attribute | ( | void | ) |
Definition at line 85 of file node_shader_attribute.c.
References NODE_CLASS_INPUT, node_copy_standard_storage(), node_free_standard_storage(), node_shader_gpu_attribute(), node_shader_init_attribute(), node_type_gpu(), node_type_init(), node_type_socket_templates(), node_type_storage(), nodeRegisterType(), NULL, SH_NODE_ATTRIBUTE, sh_node_attribute_out, and sh_node_type_base().
Referenced by registerShaderNodes().
|
static |
Definition at line 24 of file node_shader_attribute.c.
Referenced by node_shader_gpu_attribute(), and register_node_type_sh_attribute().