|
Blender V5.0
|
#include "kernel/globals.h"#include "kernel/types.h"#include "kernel/util/colorspace.h"#include "util/color.h"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, int) |
| 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 float attribute_data_fetch | ( | KernelGlobals | kg, |
| int | offset ) |
Definition at line 91 of file kernel/geom/attribute.h.
References ccl_device_template_spec, and kernel_data_fetch.
| ccl_device_template_spec Transform attribute_data_fetch | ( | KernelGlobals | kg, |
| int | offset ) |
Definition at line 96 of file kernel/geom/attribute.h.
References ccl_device_template_spec, and kernel_data_fetch.
Referenced by primitive_attribute_matrix(), primitive_surface_attribute(), and triangle_attribute().
| ccl_device_template_spec float4 attribute_data_fetch_bytecolor | ( | KernelGlobals | kg, |
| int | offset ) |
Definition at line 125 of file kernel/geom/attribute.h.
References ccl_device_template_spec, color_srgb_to_linear_v4(), color_uchar4_to_float4(), kernel_data_fetch, make_float3(), make_float4, rec709_to_rgb(), and float4::w.
| ccl_device_inline T attribute_data_fetch_bytecolor | ( | KernelGlobals | , |
| int | ) |
Definition at line 119 of file kernel/geom/attribute.h.
References ccl_device_inline, kernel_assert, make_zero(), and T.
Referenced by triangle_attribute().
| CCL_NAMESPACE_BEGIN ccl_device_inline AttributeDescriptor attribute_not_found | ( | ) |
Definition at line 24 of file kernel/geom/attribute.h.
References ATTR_ELEMENT_NONE, ATTR_STD_NOT_FOUND, and ccl_device_inline.
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 81 of file kernel/geom/attribute.h.
References ccl_device_inline, ccl_private, and find_attribute().
| ccl_device_inline AttributeDescriptor find_attribute | ( | KernelGlobals | kg, |
| const int | object, | ||
| const int | prim, | ||
| const uint64_t | id ) |
Definition at line 37 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(), ccl_device_inline, 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 32 of file kernel/geom/attribute.h.
References ccl_device_inline, and kernel_data_fetch.
Referenced by find_attribute().
| ccl_device Transform primitive_attribute_matrix | ( | KernelGlobals | kg, |
| const AttributeDescriptor | desc ) |
Definition at line 145 of file kernel/geom/attribute.h.
References attribute_data_fetch(), ccl_device, and AttributeDescriptor::offset.
Referenced by get_object_attribute(), and get_object_attribute().