|
Blender
V2.93
|
#include "../node_shader_util.h"Go to the source code of this file.
Functions | |
| static void | node_shader_init_tex_image (bNodeTree *UNUSED(ntree), bNode *node) |
| static int | node_shader_gpu_tex_image (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
| void | register_node_type_sh_tex_image (void) |
Variables | |
| static bNodeSocketTemplate | sh_node_tex_image_in [] |
| static bNodeSocketTemplate | sh_node_tex_image_out [] |
|
static |
Definition at line 54 of file node_shader_tex_image.c.
References Image::alpha_mode, blend(), CD_MTFACE, Image::colorspace_settings, ELEM, GPU_attribute(), GPU_builtin(), GPU_image(), GPU_image_tiled(), GPU_image_tiled_mapping(), GPU_link(), GPU_OBJECT_MATRIX, GPU_SAMPLER_ANISO, GPU_SAMPLER_CLAMP_BORDER, GPU_SAMPLER_FILTER, GPU_SAMPLER_MIPMAP, GPU_SAMPLER_REPEAT, GPU_stack_link(), GPU_uniform(), GPU_WORLD_NORMAL, if(), IMA_ALPHA_CHANNEL_PACKED, IMA_ALPHA_IGNORE, IMA_ALPHA_PREMUL, IMA_SRC_TILED, IMB_colormanagement_space_name_is_data(), GPUNodeStack::link, ColorManagedColorspaceSettings::name, node, node_shader_gpu_bump_tex_coord(), node_shader_gpu_tex_mapping(), SHD_IMAGE_EXTENSION_CLIP, SHD_IMAGE_EXTENSION_REPEAT, SHD_INTERP_CLOSEST, SHD_INTERP_CUBIC, SHD_INTERP_SMART, SHD_PROJ_BOX, SHD_PROJ_FLAT, SHD_PROJ_SPHERE, SHD_PROJ_TUBE, Image::source, and tex.
Referenced by register_node_type_sh_tex_image().
Definition at line 44 of file node_shader_tex_image.c.
References BKE_imageuser_default(), BKE_texture_colormapping_default(), BKE_texture_mapping_default(), Tex::iuser, MEM_callocN, node, tex, and TEXMAP_TYPE_POINT.
Referenced by register_node_type_sh_tex_image().
| void register_node_type_sh_tex_image | ( | void | ) |
Definition at line 187 of file node_shader_tex_image.c.
References NODE_CLASS_TEXTURE, node_copy_standard_storage(), node_free_standard_storage(), node_image_label(), node_shader_gpu_tex_image(), node_shader_init_tex_image(), NODE_SIZE_LARGE, node_type_gpu(), node_type_init(), node_type_label(), node_type_size_preset(), node_type_socket_templates(), node_type_storage(), nodeRegisterType(), SH_NODE_TEX_IMAGE, sh_node_tex_image_in, sh_node_tex_image_out, and sh_node_type_base().
Referenced by registerShaderNodes().
|
static |
Definition at line 24 of file node_shader_tex_image.c.
Referenced by register_node_type_sh_tex_image().
|
static |
Definition at line 29 of file node_shader_tex_image.c.
Referenced by register_node_type_sh_tex_image().