|
Blender V5.3
|
#include "kernel/globals.h"#include "kernel/geom/attribute.h"#include "kernel/geom/gsplat.h"#include "kernel/geom/object.h"#include "kernel/geom/primitive.h"#include "kernel/geom/volume.h"#include "kernel/svm/node_types.h"#include "kernel/svm/util.h"Go to the source code of this file.
| ccl_device_noinline void svm_node_attr_derivative | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| ccl_private float *ccl_restrict | stack, | ||
| const ccl_global SVMNodeAttr &ccl_restrict | node ) |
Definition at line 230 of file kernel/svm/attribute.h.
References ccl_device_noinline, ccl_global, ccl_private, ccl_restrict, node, NODE_ATTR_OUTPUT_FLOAT, NODE_BUMP_OFFSET_DX, NODE_BUMP_OFFSET_DY, svm_node_attr_derivative(), svm_node_attr_init(), svm_node_attr_store(), and svm_node_attr_surface_eval().
Referenced by svm_eval_nodes(), and svm_node_attr_derivative().
| CCL_NAMESPACE_BEGIN ccl_device AttributeDescriptor svm_node_attr_init | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| const ccl_global SVMNodeAttr &ccl_restrict | node, | ||
| ccl_private NodeAttributeOutputType * | type ) |
Definition at line 22 of file kernel/svm/attribute.h.
References attribute_not_found(), ccl_device, ccl_global, ccl_private, ccl_restrict, find_attribute(), is_attribute_found(), node, OBJECT_NONE, svm_node_attr_init(), and AttributeDescriptor::type.
Referenced by svm_node_attr_derivative(), svm_node_attr_init(), and svm_node_attr_surface().
| ccl_device_inline void svm_node_attr_store | ( | const NodeAttributeOutputType | type, |
| ccl_private float * | stack, | ||
| const uint | out_offset, | ||
| const ccl_private Float3Type & | f ) |
Definition at line 50 of file kernel/svm/attribute.h.
References average(), ccl_device_inline, ccl_private, NODE_ATTR_OUTPUT_FLOAT3, stack_store(), and svm_node_attr_store().
Referenced by svm_node_attr_derivative(), svm_node_attr_store(), and svm_node_attr_surface().
| ccl_device_noinline void svm_node_attr_surface | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| ccl_private float *ccl_restrict | stack, | ||
| const ccl_global SVMNodeAttr &ccl_restrict | node ) |
Definition at line 215 of file kernel/svm/attribute.h.
References ccl_device_noinline, ccl_global, ccl_private, ccl_restrict, node, NODE_ATTR_OUTPUT_FLOAT, svm_node_attr_init(), svm_node_attr_store(), svm_node_attr_surface(), and svm_node_attr_surface_eval().
Referenced by svm_eval_nodes(), and svm_node_attr_surface().
| ccl_device_inline Float3Type svm_node_attr_surface_eval | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| ccl_private float *ccl_restrict | stack, | ||
| const ccl_global SVMNodeAttr &ccl_restrict | node, | ||
| const NodeAttributeOutputType | type, | ||
| const AttributeDescriptor | desc ) |
Definition at line 70 of file kernel/svm/attribute.h.
References ATTR_STD_GENERATED, ATTR_STD_GSPLAT_RADIANCE, ATTR_STD_UV, average(), ccl_global, ccl_private, ccl_restrict, dual< T >::dx, dual< T >::dy, is_attribute_found(), is_dual_v, make_float3(), make_float4, node, NODE_ATTR_FLOAT, NODE_ATTR_FLOAT2, NODE_ATTR_FLOAT4, NODE_ATTR_OUTPUT_FLOAT, NODE_ATTR_OUTPUT_FLOAT_ALPHA, NODE_ATTR_QUATERNION, NODE_ATTR_RGBA, NODE_ATTR_SPHERICAL_HARMONICS_REST, object_inverse_position_transform_if_object(), PRIMITIVE_GSPLAT, PRIMITIVE_LAMP, primitive_surface_attribute(), shading_position(), stack_load(), svm_node_attr_surface_eval(), AttributeDescriptor::type, dual< T >::val, dual< float4 >::w(), float4::w, dual< float2 >::x(), and float2::x.
Referenced by svm_node_attr_derivative(), svm_node_attr_surface(), and svm_node_attr_surface_eval().