|
Blender V5.3
|
#include "kernel/globals.h"#include "kernel/sample/lcg.h"#include "util/atomic.h"#include "util/defines.h"#include "util/math_fast.h"#include "util/types_image.h"Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device_forceinline int | kernel_image_udim_map (KernelGlobals kg, const int id, ccl_private float2 &uv) |
| ccl_device_forceinline bool | kernel_image_tile_wrap (const ExtensionType extension, ccl_private float2 &uv) |
| ccl_device_forceinline KernelTileDescriptor | kernel_image_tile_map (KernelGlobals kg, ccl_private ShaderData *sd, const ccl_global KernelImageTexture &tex, const uint image_texture_id, const dual2 uv, ccl_private float2 &xy) |
| ccl_device_forceinline KernelTileDescriptor kernel_image_tile_map | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| const ccl_global KernelImageTexture & | tex, | ||
| const uint | image_texture_id, | ||
| const dual2 | uv, | ||
| ccl_private float2 & | xy ) |
Definition at line 76 of file image_2d.h.
References ccl_global, ccl_private, clamp(), divide_up_by_shift(), dual< float2 >::dx, dual< float2 >::dy, fast_log2f(), kernel_data, kernel_data_array, kernel_data_fetch, kernel_data_write, KERNEL_IMAGE_TEX_PADDING, kernel_image_tile_map(), KERNEL_TILE_ACCESS_REQUESTED, KERNEL_TILE_ACCESS_USED, kernel_tile_descriptor_loaded(), kernel_tile_descriptor_offset(), KERNEL_TILE_LOAD_FAILED, KERNEL_TILE_LOAD_NONE, KERNEL_TILE_LOAD_REQUEST, lcg_step_float(), len_squared(), log2, make_float2, max, min, sqr, SR_CACHE_MISS, dual< float2 >::val, float2::x, and float2::y.
Referenced by CCL_NAMESPACE_BEGIN::kernel_image_interp(), kernel_image_interp(), and kernel_image_tile_map().
| ccl_device_forceinline bool kernel_image_tile_wrap | ( | const ExtensionType | extension, |
| ccl_private float2 & | uv ) |
Definition at line 48 of file image_2d.h.
References ccl_device_forceinline, ccl_private, clamp(), EXTENSION_CLIP, EXTENSION_EXTEND, EXTENSION_MIRROR, EXTENSION_REPEAT, floor, kernel_image_tile_wrap(), one_float2(), select, and zero_float2().
Referenced by CCL_NAMESPACE_BEGIN::kernel_image_interp(), kernel_image_interp(), and kernel_image_tile_wrap().
| CCL_NAMESPACE_BEGIN ccl_device_forceinline int kernel_image_udim_map | ( | KernelGlobals | kg, |
| const int | id, | ||
| ccl_private float2 & | uv ) |
Definition at line 17 of file image_2d.h.
References ccl_device_forceinline, ccl_private, KernelImageUDIM::image_texture_id, kernel_data_fetch, KERNEL_IMAGE_NONE, kernel_image_udim_map(), KernelImageUDIM::tile, and tile.
Referenced by CCL_NAMESPACE_BEGIN::kernel_image_interp_with_udim(), kernel_image_interp_with_udim(), kernel_image_udim_map(), and osl_shared_get_texture_info().