|
Blender V4.5
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device_inline AttributeDescriptor | attribute_not_found () |
| ccl_device_inline uint | object_attribute_map_offset (KernelGlobals kg, const int object) |
| ccl_device_inline AttributeDescriptor | find_attribute (KernelGlobals kg, const int object, const int prim, const uint64_t id) |
| ccl_device_inline AttributeDescriptor | find_attribute (KernelGlobals kg, const ccl_private ShaderData *sd, const uint64_t id) |
| template<typename T > | |
| ccl_device_inline T | attribute_data_fetch (KernelGlobals kg, int offset) |
| ccl_device_template_spec float | attribute_data_fetch (KernelGlobals kg, int offset) |
| template<typename T > | |
| ccl_device_inline T | attribute_data_fetch_bytecolor (KernelGlobals kg, int offset) |
| ccl_device_template_spec float4 | attribute_data_fetch_bytecolor (KernelGlobals kg, int offset) |
| ccl_device Transform | primitive_attribute_matrix (KernelGlobals kg, const AttributeDescriptor desc) |
| ccl_device_template_spec Transform attribute_data_fetch | ( | KernelGlobals | kg, |
| int | offset ) |
Definition at line 95 of file kernel/geom/attribute.h.
References kernel_data_fetch.
Referenced by primitive_attribute_matrix(), primitive_surface_attribute(), and triangle_attribute().
| ccl_device_template_spec float attribute_data_fetch | ( | KernelGlobals | kg, |
| int | offset ) |
Definition at line 90 of file kernel/geom/attribute.h.
References kernel_data_fetch.
| ccl_device_inline T attribute_data_fetch_bytecolor | ( | KernelGlobals | kg, |
| int | offset ) |
Definition at line 118 of file kernel/geom/attribute.h.
References kernel_assert, and make_zero().
Referenced by triangle_attribute().
| ccl_device_template_spec float4 attribute_data_fetch_bytecolor | ( | KernelGlobals | kg, |
| int | offset ) |
Definition at line 124 of file kernel/geom/attribute.h.
References color_srgb_to_linear_v4(), color_uchar4_to_float4(), and kernel_data_fetch.
| CCL_NAMESPACE_BEGIN ccl_device_inline AttributeDescriptor attribute_not_found | ( | ) |
Definition at line 23 of file kernel/geom/attribute.h.
References ATTR_ELEMENT_NONE, and ATTR_STD_NOT_FOUND.
Referenced by find_attribute(), and svm_node_attr_init().
| ccl_device_inline AttributeDescriptor find_attribute | ( | KernelGlobals | kg, |
| const ccl_private ShaderData * | sd, | ||
| const uint64_t | id ) |
Definition at line 80 of file kernel/geom/attribute.h.
References find_attribute().
| ccl_device_inline AttributeDescriptor find_attribute | ( | KernelGlobals | kg, |
| const int | object, | ||
| const int | prim, | ||
| const uint64_t | id ) |
Definition at line 36 of file kernel/geom/attribute.h.
References ATTR_ELEMENT_MESH, ATTR_ELEMENT_NONE, ATTR_ELEMENT_OBJECT, ATTR_ELEMENT_VOXEL, ATTR_PRIM_TYPES, ATTR_STD_NONE, ATTR_STD_NOT_FOUND, attribute_not_found(), AttributeDescriptor::element, AttributeMap::element, AttributeMap::id, kernel_data_fetch, object_attribute_map_offset(), OBJECT_NONE, AttributeDescriptor::offset, AttributeMap::offset, PRIM_NONE, AttributeDescriptor::type, AttributeMap::type, and UNLIKELY.
Referenced by find_attribute().
| ccl_device_inline uint object_attribute_map_offset | ( | KernelGlobals | kg, |
| const int | object ) |
Definition at line 31 of file kernel/geom/attribute.h.
References kernel_data_fetch.
Referenced by find_attribute().
| ccl_device Transform primitive_attribute_matrix | ( | KernelGlobals | kg, |
| const AttributeDescriptor | desc ) |
Definition at line 143 of file kernel/geom/attribute.h.
References attribute_data_fetch(), and AttributeDescriptor::offset.
Referenced by get_object_attribute(), and get_object_attribute().