|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device_inline uint | subd_triangle_patch (KernelGlobals kg, int prim) |
| ccl_device_inline uint | attribute_primitive_type (KernelGlobals kg, int prim, int type) |
| ccl_device_inline AttributeDescriptor | attribute_not_found () |
| ccl_device_inline uint | object_attribute_map_offset (KernelGlobals kg, int object) |
| ccl_device_inline AttributeDescriptor | find_attribute (KernelGlobals kg, int object, int prim, int type, uint64_t id) |
| ccl_device_inline AttributeDescriptor | find_attribute (KernelGlobals kg, ccl_private const ShaderData *sd, uint64_t id) |
| ccl_device Transform | primitive_attribute_matrix (KernelGlobals kg, const AttributeDescriptor desc) |
| ccl_device_inline AttributeDescriptor attribute_not_found | ( | ) |
Definition at line 35 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 uint attribute_primitive_type | ( | KernelGlobals | kg, |
| int | prim, | ||
| int | type ) |
Definition at line 25 of file kernel/geom/attribute.h.
References ATTR_PRIM_GEOMETRY, ATTR_PRIM_SUBD, PRIMITIVE_TRIANGLE, and subd_triangle_patch().
Referenced by find_attribute().
| ccl_device_inline AttributeDescriptor find_attribute | ( | KernelGlobals | kg, |
| ccl_private const ShaderData * | sd, | ||
| uint64_t | id ) |
Definition at line 95 of file kernel/geom/attribute.h.
References find_attribute().
| ccl_device_inline AttributeDescriptor find_attribute | ( | KernelGlobals | kg, |
| int | object, | ||
| int | prim, | ||
| int | type, | ||
| uint64_t | id ) |
Definition at line 50 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(), attribute_primitive_type(), AttributeDescriptor::element, AttributeMap::element, AttributeDescriptor::flags, AttributeMap::flags, AttributeMap::id, int, 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, |
| int | object ) |
Definition at line 44 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 104 of file kernel/geom/attribute.h.
References kernel_data_fetch, AttributeDescriptor::offset, Transform::x, Transform::y, and Transform::z.
Referenced by get_object_attribute(), and get_object_attribute().
| CCL_NAMESPACE_BEGIN ccl_device_inline uint subd_triangle_patch | ( | KernelGlobals | kg, |
| int | prim ) |
Definition at line 20 of file kernel/geom/attribute.h.
References kernel_data_fetch, and PRIM_NONE.
Referenced by attribute_primitive_type(), primitive_motion_vector(), primitive_surface_attribute_float(), primitive_surface_attribute_float2(), primitive_surface_attribute_float3(), primitive_surface_attribute_float4(), subd_triangle_attribute_float(), subd_triangle_attribute_float2(), subd_triangle_attribute_float3(), and subd_triangle_attribute_float4().