|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device_inline uint | subd_triangle_patch (KernelGlobals *kg, const ShaderData *sd) |
| ccl_device_inline uint | attribute_primitive_type (KernelGlobals *kg, const ShaderData *sd) |
| 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, const ShaderData *sd, uint id) |
| ccl_device Transform | primitive_attribute_matrix (KernelGlobals *kg, const ShaderData *sd, const AttributeDescriptor desc) |
| ccl_device_inline AttributeDescriptor attribute_not_found | ( | ) |
Definition at line 40 of file 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, |
| const ShaderData * | sd | ||
| ) |
Definition at line 30 of file geom_attribute.h.
References ATTR_PRIM_GEOMETRY, ATTR_PRIM_SUBD, kg, PRIMITIVE_ALL_TRIANGLE, and subd_triangle_patch().
Referenced by find_attribute(), and OSLRenderServices::get_attribute().
| ccl_device_inline AttributeDescriptor find_attribute | ( | KernelGlobals * | kg, |
| const ShaderData * | sd, | ||
| uint | id | ||
| ) |
Definition at line 54 of file 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, AttributeDescriptor::flags, if(), kernel_tex_fetch, kg, object_attribute_map_offset(), OBJECT_NONE, AttributeDescriptor::offset, PRIM_NONE, AttributeDescriptor::type, UNLIKELY, uint4::w, uint4::x, uint4::y, and uint4::z.
Referenced by primitive_motion_vector(), primitive_ptex(), primitive_tangent(), primitive_uv(), svm_node_attr_init(), svm_node_closure_bsdf(), svm_node_enter_bump_eval(), svm_node_normal_map(), svm_node_principled_volume(), 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_inline uint object_attribute_map_offset | ( | KernelGlobals * | kg, |
| int | object | ||
| ) |
Definition at line 49 of file geom_attribute.h.
References kernel_tex_fetch.
Referenced by find_attribute(), and find_attribute_motion().
| ccl_device Transform primitive_attribute_matrix | ( | KernelGlobals * | kg, |
| const ShaderData * | sd, | ||
| const AttributeDescriptor | desc | ||
| ) |
Definition at line 101 of file geom_attribute.h.
References kernel_tex_fetch, AttributeDescriptor::offset, Transform::x, Transform::y, and Transform::z.
Referenced by get_mesh_attribute().
| CCL_NAMESPACE_BEGIN ccl_device_inline uint subd_triangle_patch | ( | KernelGlobals * | kg, |
| const ShaderData * | sd | ||
| ) |
Definition at line 23 of file geom_subd_triangle.h.
References kernel_tex_fetch, and PRIM_NONE.
Referenced by attribute_primitive_type(), 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().