Blender
V3.3
|
Functions | |
static void | sh_node_tex_image_declare (NodeDeclarationBuilder &b) |
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) |
|
static |
Definition at line 26 of file node_shader_tex_image.cc.
References Image::alpha_mode, blend(), CD_AUTO_FROM_NAME, Image::colorspace_settings, ELEM, GPU_attribute(), GPU_image(), GPU_image_tiled(), GPU_image_tiled_mapping(), GPU_link(), GPU_SAMPLER_ANISO, GPU_SAMPLER_CLAMP_BORDER, GPU_SAMPLER_DEFAULT, GPU_SAMPLER_FILTER, GPU_SAMPLER_MIPMAP, GPU_SAMPLER_REPEAT, GPU_stack_link(), GPU_uniform(), if(), IMA_ALPHA_CHANNEL_PACKED, IMA_ALPHA_IGNORE, IMA_ALPHA_PREMUL, IMA_SRC_TILED, IMB_colormanagement_space_name_is_data(), NodeTexImage::iuser, GPUNodeStack::link, ColorManagedColorspaceSettings::name, node, node_shader_gpu_bump_tex_coord(), node_shader_gpu_tex_mapping(), usdtokens::out(), 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, bNode::storage, and tex.
Referenced by register_node_type_sh_tex_image().
|
static |
Definition at line 16 of file node_shader_tex_image.cc.
References BKE_imageuser_default(), BKE_texture_colormapping_default(), BKE_texture_mapping_default(), Tex::iuser, node, tex, and TEXMAP_TYPE_POINT.
Referenced by register_node_type_sh_tex_image().
|
static |
Definition at line 8 of file node_shader_tex_image.cc.
References usdtokens::b(), and N_.
Referenced by register_node_type_sh_tex_image().