Blender V5.0
init_from_bake.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device_inline void bake_jitter_barycentric (ccl_private float &u, ccl_private float &v, float2 rand_filter, const float dudx, const float dudy, const float dvdx, const float dvdy)
ccl_device float2 bake_offset_towards_center (KernelGlobals kg, const int prim, const float u, const float v)
ccl_device bool integrator_init_from_bake (KernelGlobals kg, IntegratorState state, const ccl_global KernelWorkTile *ccl_restrict tile, ccl_global float *render_buffer, const int x, const int y, const int scheduled_sample)

Function Documentation

◆ bake_jitter_barycentric()

CCL_NAMESPACE_BEGIN ccl_device_inline void bake_jitter_barycentric ( ccl_private float & u,
ccl_private float & v,
float2 rand_filter,
const float dudx,
const float dudy,
const float dvdx,
const float dvdy )

◆ bake_offset_towards_center()

ccl_device float2 bake_offset_towards_center ( KernelGlobals kg,
const int prim,
const float u,
const float v )

◆ integrator_init_from_bake()

ccl_device bool integrator_init_from_bake ( KernelGlobals kg,
IntegratorState state,
const ccl_global KernelWorkTile *ccl_restrict tile,
ccl_global float * render_buffer,
const int x,
const int y,
const int scheduled_sample )