60 void compute_gpu(
Context &context,
63 const float roundness,
64 const float catadioptric,
65 const float lens_shift);
67 void compute_cpu(
const int sides,
69 const float roundness,
70 const float catadioptric,
71 const float lens_shift);
82 void reset()
override;
unsigned long long int uint64_t
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
Result & get(Context &context, int2 size, int sides, float rotation, float roundness, float catadioptric, float lens_shift)
BokehKernelKey(int2 size, int sides, float rotation, float roundness, float catadioptric, float lens_shift)
BokehKernel(Context &context, int2 size, int sides, float rotation, float roundness, float catadioptric, float lens_shift)
bool operator==(const BokehKernelKey &a, const BokehKernelKey &b)
VecBase< int32_t, 2 > int2