|
Blender V4.5
|
Functions | |
| static void | sh_node_tex_image_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_init_tex_image (bNodeTree *, bNode *node) |
| static int | node_shader_gpu_tex_image (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
|
static |
Definition at line 36 of file node_shader_tex_image.cc.
References Image::alpha_mode, CD_AUTO_FROM_NAME, Image::colorspace_settings, GPUSamplerState::default_sampler(), GPUSamplerState::disable_filtering_flag(), ELEM, GPUSamplerState::extend_x, GPUSamplerState::extend_yz, NodeTexImage::extension, GPUSamplerState::filtering, GPU_attribute(), GPU_image(), GPU_image_tiled(), GPU_link(), GPU_SAMPLER_EXTEND_MODE_CLAMP_TO_BORDER, GPU_SAMPLER_EXTEND_MODE_EXTEND, GPU_SAMPLER_EXTEND_MODE_MIRRORED_REPEAT, GPU_SAMPLER_EXTEND_MODE_REPEAT, GPU_SAMPLER_FILTERING_ANISOTROPIC, GPU_SAMPLER_FILTERING_LINEAR, GPU_SAMPLER_FILTERING_MIPMAP, GPU_stack_link(), GPU_uniform(), bNode::id, IMA_ALPHA_CHANNEL_PACKED, IMA_ALPHA_IGNORE, IMA_ALPHA_PREMUL, IMA_SRC_TILED, IMB_colormanagement_space_name_is_data(), in, NodeTexImage::interpolation, NodeTexImage::iuser, ColorManagedColorspaceSettings::name, node_shader_gpu_bump_tex_coord(), node_shader_gpu_tex_image(), node_shader_gpu_tex_mapping(), out, NodeTexImage::projection, NodeTexImage::projection_blend, bNode::runtime, SHD_IMAGE_EXTENSION_CLIP, SHD_IMAGE_EXTENSION_EXTEND, SHD_IMAGE_EXTENSION_MIRROR, 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 bNode::storage.
Referenced by node_shader_gpu_tex_image().
|
static |
Definition at line 26 of file node_shader_tex_image.cc.
References NodeTexImage::base, BKE_imageuser_default(), BKE_texture_colormapping_default(), BKE_texture_mapping_default(), NodeTexBase::color_mapping, NodeTexImage::iuser, MEM_callocN(), node_shader_init_tex_image(), bNode::storage, NodeTexBase::tex_mapping, and TEXMAP_TYPE_POINT.
Referenced by node_shader_init_tex_image().
|
static |
Definition at line 18 of file node_shader_tex_image.cc.
References b, NODE_DEFAULT_INPUT_POSITION_FIELD, and sh_node_tex_image_declare().
Referenced by sh_node_tex_image_declare().