|
Blender
V2.93
|
Go to the source code of this file.
| ccl_device_noinline float subd_triangle_attribute_float | ( | KernelGlobals * | kg, |
| const ShaderData * | sd, | ||
| const AttributeDescriptor | desc, | ||
| float * | dx, | ||
| float * | dy | ||
| ) |
Definition at line 102 of file geom_subd_triangle.h.
References Freestyle::a, ATTR_ELEMENT_CORNER, ATTR_ELEMENT_FACE, ATTR_ELEMENT_MESH, ATTR_ELEMENT_OBJECT, ATTR_ELEMENT_VERTEX, ATTR_ELEMENT_VERTEX_MOTION, ATTR_SUBDIVIDED, Freestyle::c, AttributeDescriptor::element, AttributeDescriptor::flags, kernel_tex_fetch, kg, mix, AttributeDescriptor::offset, patch_eval_float(), subd_triangle_patch(), subd_triangle_patch_corners(), subd_triangle_patch_face(), subd_triangle_patch_indices(), subd_triangle_patch_num_corners(), subd_triangle_patch_uv(), v, float2::x, x, float2::y, and y.
Referenced by primitive_surface_attribute_float().
| ccl_device_noinline float2 subd_triangle_attribute_float2 | ( | KernelGlobals * | kg, |
| const ShaderData * | sd, | ||
| const AttributeDescriptor | desc, | ||
| float2 * | dx, | ||
| float2 * | dy | ||
| ) |
Definition at line 238 of file geom_subd_triangle.h.
References Freestyle::a, ATTR_ELEMENT_CORNER, ATTR_ELEMENT_FACE, ATTR_ELEMENT_MESH, ATTR_ELEMENT_OBJECT, ATTR_ELEMENT_VERTEX, ATTR_ELEMENT_VERTEX_MOTION, ATTR_SUBDIVIDED, Freestyle::c, AttributeDescriptor::element, AttributeDescriptor::flags, kernel_tex_fetch, kg, make_float2, mix, AttributeDescriptor::offset, patch_eval_float2(), subd_triangle_patch(), subd_triangle_patch_corners(), subd_triangle_patch_face(), subd_triangle_patch_indices(), subd_triangle_patch_num_corners(), subd_triangle_patch_uv(), v, float2::x, x, float2::y, and y.
Referenced by primitive_surface_attribute_float2().
| ccl_device_noinline float3 subd_triangle_attribute_float3 | ( | KernelGlobals * | kg, |
| const ShaderData * | sd, | ||
| const AttributeDescriptor | desc, | ||
| float3 * | dx, | ||
| float3 * | dy | ||
| ) |
Definition at line 381 of file geom_subd_triangle.h.
References Freestyle::a, ATTR_ELEMENT_CORNER, ATTR_ELEMENT_FACE, ATTR_ELEMENT_MESH, ATTR_ELEMENT_OBJECT, ATTR_ELEMENT_VERTEX, ATTR_ELEMENT_VERTEX_MOTION, ATTR_SUBDIVIDED, Freestyle::c, AttributeDescriptor::element, AttributeDescriptor::flags, float4_to_float3(), kernel_tex_fetch, kg, make_float3, mix, AttributeDescriptor::offset, patch_eval_float3(), subd_triangle_patch(), subd_triangle_patch_corners(), subd_triangle_patch_face(), subd_triangle_patch_indices(), subd_triangle_patch_num_corners(), subd_triangle_patch_uv(), v, float2::x, x, float2::y, and y.
Referenced by primitive_surface_attribute_float3().
| ccl_device_noinline float4 subd_triangle_attribute_float4 | ( | KernelGlobals * | kg, |
| const ShaderData * | sd, | ||
| const AttributeDescriptor | desc, | ||
| float4 * | dx, | ||
| float4 * | dy | ||
| ) |
Definition at line 523 of file geom_subd_triangle.h.
References Freestyle::a, ATTR_ELEMENT_CORNER, ATTR_ELEMENT_CORNER_BYTE, ATTR_ELEMENT_FACE, ATTR_ELEMENT_MESH, ATTR_ELEMENT_OBJECT, ATTR_ELEMENT_VERTEX, ATTR_ELEMENT_VERTEX_MOTION, ATTR_SUBDIVIDED, Freestyle::c, color_srgb_to_linear_v4(), color_uchar4_to_float4(), AttributeDescriptor::element, AttributeDescriptor::flags, kernel_tex_fetch, kg, make_float4, mix, NODE_ATTR_RGBA, AttributeDescriptor::offset, patch_eval_float4(), patch_eval_uchar4(), subd_triangle_patch(), subd_triangle_patch_corners(), subd_triangle_patch_face(), subd_triangle_patch_indices(), subd_triangle_patch_num_corners(), subd_triangle_patch_uv(), AttributeDescriptor::type, v, float2::x, x, float2::y, and y.
Referenced by primitive_surface_attribute_float4().
| 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().
| ccl_device_inline void subd_triangle_patch_corners | ( | KernelGlobals * | kg, |
| int | patch, | ||
| int | corners[4] | ||
| ) |
Definition at line 71 of file geom_subd_triangle.h.
References Freestyle::c, data, kernel_tex_fetch, and mod().
Referenced by subd_triangle_attribute_float(), subd_triangle_attribute_float2(), subd_triangle_attribute_float3(), and subd_triangle_attribute_float4().
| ccl_device_inline uint subd_triangle_patch_face | ( | KernelGlobals * | kg, |
| int | patch | ||
| ) |
Definition at line 57 of file geom_subd_triangle.h.
References kernel_tex_fetch.
Referenced by subd_triangle_attribute_float(), subd_triangle_attribute_float2(), subd_triangle_attribute_float3(), and subd_triangle_attribute_float4().
| ccl_device_inline uint4 subd_triangle_patch_indices | ( | KernelGlobals * | kg, |
| int | patch | ||
| ) |
Definition at line 43 of file geom_subd_triangle.h.
References indices, and kernel_tex_fetch.
Referenced by subd_triangle_attribute_float(), subd_triangle_attribute_float2(), subd_triangle_attribute_float3(), and subd_triangle_attribute_float4().
| ccl_device_inline uint subd_triangle_patch_num_corners | ( | KernelGlobals * | kg, |
| int | patch | ||
| ) |
Definition at line 64 of file geom_subd_triangle.h.
References kernel_tex_fetch.
Referenced by subd_triangle_attribute_float(), subd_triangle_attribute_float2(), subd_triangle_attribute_float3(), and subd_triangle_attribute_float4().
| ccl_device_inline void subd_triangle_patch_uv | ( | KernelGlobals * | kg, |
| const ShaderData * | sd, | ||
| float2 | uv[3] | ||
| ) |
Definition at line 30 of file geom_subd_triangle.h.
References kernel_tex_fetch, uint4::x, uint4::y, and uint4::z.
Referenced by subd_triangle_attribute_float(), subd_triangle_attribute_float2(), subd_triangle_attribute_float3(), and subd_triangle_attribute_float4().