Blender  V3.3
Functions
init_from_bake.h File Reference
#include "kernel/camera/camera.h"
#include "kernel/film/accumulate.h"
#include "kernel/film/adaptive_sampling.h"
#include "kernel/integrator/path_state.h"
#include "kernel/sample/pattern.h"
#include "kernel/geom/geom.h"

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device_inline float bake_clamp_mirror_repeat (float u, float max)
 
ccl_device const 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, ccl_global const KernelWorkTile *ccl_restrict tile, ccl_global float *render_buffer, const int x, const int y, const int scheduled_sample)
 

Function Documentation

◆ bake_clamp_mirror_repeat()

CCL_NAMESPACE_BEGIN ccl_device_inline float bake_clamp_mirror_repeat ( float  u,
float  max 
)

Definition at line 21 of file init_from_bake.h.

References floorf, and max.

Referenced by integrator_init_from_bake().

◆ bake_offset_towards_center()

ccl_device const 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,
ccl_global const KernelWorkTile *ccl_restrict  tile,
ccl_global float render_buffer,
const int  x,
const int  y,
const int  scheduled_sample 
)