Blender
V3.3
|
Go to the source code of this file.
Functions | |
CCL_NAMESPACE_BEGIN ccl_device float | lookup_table_read (KernelGlobals kg, float x, int offset, int size) |
ccl_device float | lookup_table_read_2D (KernelGlobals kg, float x, float y, int offset, int xsize, int ysize) |
CCL_NAMESPACE_BEGIN ccl_device float lookup_table_read | ( | KernelGlobals | kg, |
float | x, | ||
int | offset, | ||
int | size | ||
) |
Definition at line 10 of file lookup_table.h.
References data0, data1, float_to_int(), kernel_data_fetch, min, offset, saturatef(), size(), t, and x.
Referenced by camera_sample(), and lookup_table_read_2D().
ccl_device float lookup_table_read_2D | ( | KernelGlobals | kg, |
float | x, | ||
float | y, | ||
int | offset, | ||
int | xsize, | ||
int | ysize | ||
) |
Definition at line 26 of file lookup_table.h.
References data0, data1, float_to_int(), lookup_table_read(), min, offset, saturatef(), t, x, and y.
Referenced by microfacet_beckmann_sample_slopes().