Blender V5.0
blender::compositor::BokehKernelKey Class Reference

#include <COM_bokeh_kernel.hh>

Public Member Functions

 BokehKernelKey (int2 size, int sides, float rotation, float roundness, float catadioptric, float lens_shift)
uint64_t hash () const

Public Attributes

int2 size
int sides
float rotation
float roundness
float catadioptric
float lens_shift

Detailed Description

Definition at line 23 of file COM_bokeh_kernel.hh.

Constructor & Destructor Documentation

◆ BokehKernelKey()

blender::compositor::BokehKernelKey::BokehKernelKey ( int2 size,
int sides,
float rotation,
float roundness,
float catadioptric,
float lens_shift )

Definition at line 27 of file bokeh_kernel.cc.

References catadioptric, lens_shift, rotation, roundness, sides, and size.

Member Function Documentation

◆ hash()

uint64_t blender::compositor::BokehKernelKey::hash ( ) const

Definition at line 38 of file bokeh_kernel.cc.

References catadioptric, blender::get_default_hash(), lens_shift, rotation, roundness, and size.

Member Data Documentation

◆ catadioptric

float blender::compositor::BokehKernelKey::catadioptric

Definition at line 29 of file COM_bokeh_kernel.hh.

Referenced by BokehKernelKey(), hash(), and blender::compositor::operator==().

◆ lens_shift

float blender::compositor::BokehKernelKey::lens_shift

Definition at line 30 of file COM_bokeh_kernel.hh.

Referenced by BokehKernelKey(), hash(), and blender::compositor::operator==().

◆ rotation

float blender::compositor::BokehKernelKey::rotation

Definition at line 27 of file COM_bokeh_kernel.hh.

Referenced by BokehKernelKey(), hash(), and blender::compositor::operator==().

◆ roundness

float blender::compositor::BokehKernelKey::roundness

Definition at line 28 of file COM_bokeh_kernel.hh.

Referenced by BokehKernelKey(), hash(), and blender::compositor::operator==().

◆ sides

int blender::compositor::BokehKernelKey::sides

Definition at line 26 of file COM_bokeh_kernel.hh.

Referenced by BokehKernelKey(), and blender::compositor::operator==().

◆ size

int2 blender::compositor::BokehKernelKey::size

Definition at line 25 of file COM_bokeh_kernel.hh.

Referenced by BokehKernelKey(), hash(), and blender::compositor::operator==().


The documentation for this class was generated from the following files: