|
Blender V4.3
|
#include "kernel/camera/projection.h"Go to the source code of this file.
| ccl_device_forceinline float4 primitive_motion_vector | ( | KernelGlobals | kg, |
| ccl_private const ShaderData * | sd ) |
Definition at line 266 of file primitive.h.
References ATTR_STD_MOTION_VERTEX_POSITION, ATTR_STD_NOT_FOUND, CAMERA_PANORAMA, direction_to_panorama(), find_attribute(), float2_to_float3(), float4_to_float3(), kernel_data, kernel_data_fetch, make_float3(), make_float4(), normalize(), NULL, object_fetch_motion_pass_transform(), OBJECT_PASS_MOTION_POST, OBJECT_PASS_MOTION_PRE, object_position_transform(), AttributeDescriptor::offset, PRIMITIVE_CURVE, PRIMITIVE_POINT, primitive_surface_attribute_float4(), PRIMITIVE_TRIANGLE, SD_OBJECT_HAS_VERTEX_MOTION, SD_OBJECT_TRANSFORM_APPLIED, subd_triangle_attribute_float3(), subd_triangle_patch(), transform_perspective(), transform_point(), triangle_attribute_float3(), float3::x, and float3::y.
Referenced by film_write_data_passes().
| ccl_device bool primitive_ptex | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| ccl_private float2 * | uv, | ||
| ccl_private int * | face_id ) |
Definition at line 211 of file primitive.h.
References ATTR_STD_NOT_FOUND, ATTR_STD_PTEX_FACE_ID, ATTR_STD_PTEX_UV, find_attribute(), int, make_float2(), NULL, AttributeDescriptor::offset, primitive_surface_attribute_float(), primitive_surface_attribute_float3(), float3::x, and float3::y.
| CCL_NAMESPACE_BEGIN ccl_device_forceinline float primitive_surface_attribute_float | ( | KernelGlobals | kg, |
| ccl_private const ShaderData * | sd, | ||
| const AttributeDescriptor | desc, | ||
| ccl_private float * | dx, | ||
| ccl_private float * | dy ) |
Definition at line 22 of file primitive.h.
References PRIMITIVE_CURVE, PRIMITIVE_POINT, PRIMITIVE_TRIANGLE, subd_triangle_attribute_float(), subd_triangle_patch(), and triangle_attribute_float().
Referenced by get_object_attribute(), get_object_attribute(), primitive_ptex(), svm_node_attr(), svm_node_attr_bump_dx(), svm_node_attr_bump_dy(), svm_node_closure_bsdf(), svm_node_normal_map(), and svm_node_vector_displacement().
| ccl_device_forceinline float2 primitive_surface_attribute_float2 | ( | KernelGlobals | kg, |
| ccl_private const ShaderData * | sd, | ||
| const AttributeDescriptor | desc, | ||
| ccl_private float2 * | dx, | ||
| ccl_private float2 * | dy ) |
Definition at line 53 of file primitive.h.
References make_float2(), PRIMITIVE_CURVE, PRIMITIVE_POINT, PRIMITIVE_TRIANGLE, subd_triangle_attribute_float2(), subd_triangle_patch(), and triangle_attribute_float2().
Referenced by get_object_attribute(), get_object_attribute(), primitive_uv(), svm_node_attr(), svm_node_attr_bump_dx(), svm_node_attr_bump_dy(), and svm_node_tangent().
| ccl_device_forceinline float3 primitive_surface_attribute_float3 | ( | KernelGlobals | kg, |
| ccl_private const ShaderData * | sd, | ||
| const AttributeDescriptor | desc, | ||
| ccl_private float3 * | dx, | ||
| ccl_private float3 * | dy ) |
Definition at line 84 of file primitive.h.
References make_float3(), PRIMITIVE_CURVE, PRIMITIVE_POINT, PRIMITIVE_TRIANGLE, subd_triangle_attribute_float3(), subd_triangle_patch(), and triangle_attribute_float3().
Referenced by get_object_attribute(), get_object_attribute(), primitive_ptex(), primitive_tangent(), svm_node_attr(), svm_node_attr_bump_dx(), svm_node_attr_bump_dy(), svm_node_enter_bump_eval(), svm_node_normal_map(), svm_node_tangent(), svm_node_vector_displacement(), svm_node_vertex_color(), svm_node_vertex_color_bump_dx(), and svm_node_vertex_color_bump_dy().
| ccl_device_forceinline float4 primitive_surface_attribute_float4 | ( | KernelGlobals | kg, |
| ccl_private const ShaderData * | sd, | ||
| const AttributeDescriptor | desc, | ||
| ccl_private float4 * | dx, | ||
| ccl_private float4 * | dy ) |
Definition at line 115 of file primitive.h.
References PRIMITIVE_CURVE, PRIMITIVE_POINT, PRIMITIVE_TRIANGLE, subd_triangle_attribute_float4(), subd_triangle_patch(), triangle_attribute_float4(), and zero_float4().
Referenced by get_object_attribute(), get_object_attribute(), primitive_motion_vector(), svm_node_attr(), svm_node_attr_bump_dx(), svm_node_attr_bump_dy(), svm_node_vertex_color(), svm_node_vertex_color_bump_dx(), and svm_node_vertex_color_bump_dy().
| ccl_device float3 primitive_tangent | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd ) |
Definition at line 234 of file primitive.h.
References ATTR_STD_GENERATED, ATTR_STD_NOT_FOUND, cross(), find_attribute(), make_float3(), normalize(), NULL, object_normal_transform(), AttributeDescriptor::offset, PRIMITIVE_CURVE, PRIMITIVE_POINT, and primitive_surface_attribute_float3().
Referenced by svm_node_geometry().
| ccl_device_forceinline float3 primitive_uv | ( | KernelGlobals | kg, |
| ccl_private const ShaderData * | sd ) |
Definition at line 198 of file primitive.h.
References ATTR_STD_NOT_FOUND, ATTR_STD_UV, find_attribute(), make_float3(), NULL, AttributeDescriptor::offset, primitive_surface_attribute_float2(), float2::x, and float2::y.
Referenced by film_write_data_passes().