Blender  V2.93
Functions
geom_subd_triangle.h File Reference

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 void subd_triangle_patch_uv (KernelGlobals *kg, const ShaderData *sd, float2 uv[3])
 
ccl_device_inline uint4 subd_triangle_patch_indices (KernelGlobals *kg, int patch)
 
ccl_device_inline uint subd_triangle_patch_face (KernelGlobals *kg, int patch)
 
ccl_device_inline uint subd_triangle_patch_num_corners (KernelGlobals *kg, int patch)
 
ccl_device_inline void subd_triangle_patch_corners (KernelGlobals *kg, int patch, int corners[4])
 
ccl_device_noinline float subd_triangle_attribute_float (KernelGlobals *kg, const ShaderData *sd, const AttributeDescriptor desc, float *dx, float *dy)
 
ccl_device_noinline float2 subd_triangle_attribute_float2 (KernelGlobals *kg, const ShaderData *sd, const AttributeDescriptor desc, float2 *dx, float2 *dy)
 
ccl_device_noinline float3 subd_triangle_attribute_float3 (KernelGlobals *kg, const ShaderData *sd, const AttributeDescriptor desc, float3 *dx, float3 *dy)
 
ccl_device_noinline float4 subd_triangle_attribute_float4 (KernelGlobals *kg, const ShaderData *sd, const AttributeDescriptor desc, float4 *dx, float4 *dy)
 

Function Documentation

◆ subd_triangle_attribute_float()

ccl_device_noinline float subd_triangle_attribute_float ( KernelGlobals *  kg,
const ShaderData sd,
const AttributeDescriptor  desc,
float dx,
float dy 
)

◆ subd_triangle_attribute_float2()

ccl_device_noinline float2 subd_triangle_attribute_float2 ( KernelGlobals *  kg,
const ShaderData sd,
const AttributeDescriptor  desc,
float2 dx,
float2 dy 
)

◆ subd_triangle_attribute_float3()

ccl_device_noinline float3 subd_triangle_attribute_float3 ( KernelGlobals *  kg,
const ShaderData sd,
const AttributeDescriptor  desc,
float3 dx,
float3 dy 
)

◆ subd_triangle_attribute_float4()

ccl_device_noinline float4 subd_triangle_attribute_float4 ( KernelGlobals *  kg,
const ShaderData sd,
const AttributeDescriptor  desc,
float4 *  dx,
float4 *  dy 
)

◆ subd_triangle_patch()

CCL_NAMESPACE_BEGIN ccl_device_inline uint subd_triangle_patch ( KernelGlobals *  kg,
const ShaderData sd 
)

◆ subd_triangle_patch_corners()

ccl_device_inline void subd_triangle_patch_corners ( KernelGlobals *  kg,
int  patch,
int  corners[4] 
)

◆ subd_triangle_patch_face()

ccl_device_inline uint subd_triangle_patch_face ( KernelGlobals *  kg,
int  patch 
)

◆ subd_triangle_patch_indices()

ccl_device_inline uint4 subd_triangle_patch_indices ( KernelGlobals *  kg,
int  patch 
)

◆ subd_triangle_patch_num_corners()

ccl_device_inline uint subd_triangle_patch_num_corners ( KernelGlobals *  kg,
int  patch 
)

◆ subd_triangle_patch_uv()

ccl_device_inline void subd_triangle_patch_uv ( KernelGlobals *  kg,
const ShaderData sd,
float2  uv[3] 
)