Blender
V3.3
|
Go to the source code of this file.
Functions | |
CCL_NAMESPACE_BEGIN ccl_device float4 | svm_image_texture (KernelGlobals kg, int id, float x, float y, uint flags) |
ccl_device_inline float3 | texco_remap_square (float3 co) |
ccl_device_noinline int | svm_node_tex_image (KernelGlobals kg, ccl_private ShaderData *sd, ccl_private float *stack, uint4 node, int offset) |
ccl_device_noinline void | svm_node_tex_image_box (KernelGlobals kg, ccl_private ShaderData *sd, ccl_private float *stack, uint4 node) |
ccl_device_noinline void | svm_node_tex_environment (KernelGlobals kg, ccl_private ShaderData *sd, ccl_private float *stack, uint4 node) |
CCL_NAMESPACE_BEGIN ccl_device float4 svm_image_texture | ( | KernelGlobals | kg, |
int | id, | ||
float | x, | ||
float | y, | ||
uint | flags | ||
) |
Definition at line 8 of file cycles/kernel/svm/image.h.
References color_srgb_to_linear_v4(), CCL_NAMESPACE_BEGIN::kernel_tex_image_interp(), make_float4, NODE_IMAGE_ALPHA_UNASSOCIATE, NODE_IMAGE_COMPRESS_AS_SRGB, r, TEX_IMAGE_MISSING_A, TEX_IMAGE_MISSING_B, TEX_IMAGE_MISSING_G, TEX_IMAGE_MISSING_R, x, and y.
Referenced by svm_node_tex_environment(), svm_node_tex_image(), and svm_node_tex_image_box().
ccl_device_noinline void svm_node_tex_environment | ( | KernelGlobals | kg, |
ccl_private ShaderData * | sd, | ||
ccl_private float * | stack, | ||
uint4 | node | ||
) |
Definition at line 211 of file cycles/kernel/svm/image.h.
References direction_to_equirectangular(), direction_to_mirrorball(), make_float3, node, safe_normalize(), stack_load_float3(), stack_store_float(), stack_store_float3(), stack_valid(), svm_image_texture(), svm_unpack_node_uchar4(), float2::x, and float2::y.
Referenced by svm_eval_nodes().
ccl_device_noinline int svm_node_tex_image | ( | KernelGlobals | kg, |
ccl_private ShaderData * | sd, | ||
ccl_private float * | stack, | ||
uint4 | node, | ||
int | offset | ||
) |
Definition at line 36 of file cycles/kernel/svm/image.h.
References if(), make_float2, make_float3, map_to_sphere(), map_to_tube(), node, NODE_IMAGE_PROJ_SPHERE, NODE_IMAGE_PROJ_TUBE, offset, read_node(), stack_load_float3(), stack_store_float(), stack_store_float3(), stack_valid(), svm_image_texture(), svm_unpack_node_uchar4(), texco_remap_square(), tile, uint4::w, float3::x, float2::x, uint4::x, float3::y, float2::y, uint4::y, and uint4::z.
Referenced by svm_eval_nodes().
ccl_device_noinline void svm_node_tex_image_box | ( | KernelGlobals | kg, |
ccl_private ShaderData * | sd, | ||
ccl_private float * | stack, | ||
uint4 | node | ||
) |
Definition at line 109 of file cycles/kernel/svm/image.h.
References __int_as_float(), blend(), fabsf, make_float2, make_float3, N, node, object_inverse_normal_transform(), saturatef(), stack_load_float3(), stack_store_float(), stack_store_float3(), stack_valid(), svm_image_texture(), svm_unpack_node_uchar4(), float3::x, float2::x, float3::y, float2::y, float3::z, and zero_float4().
Referenced by svm_eval_nodes().
ccl_device_inline float3 texco_remap_square | ( | float3 | co | ) |
Definition at line 31 of file cycles/kernel/svm/image.h.
References make_float3.
Referenced by svm_node_tex_image().