Blender V4.3
blender::realtime_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 26 of file COM_bokeh_kernel.hh.

Constructor & Destructor Documentation

◆ BokehKernelKey()

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

Definition at line 25 of file bokeh_kernel.cc.

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

Member Function Documentation

◆ hash()

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

Definition at line 36 of file bokeh_kernel.cc.

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

Member Data Documentation

◆ catadioptric

float blender::realtime_compositor::BokehKernelKey::catadioptric

◆ lens_shift

float blender::realtime_compositor::BokehKernelKey::lens_shift

◆ rotation

float blender::realtime_compositor::BokehKernelKey::rotation

◆ roundness

float blender::realtime_compositor::BokehKernelKey::roundness

◆ sides

int blender::realtime_compositor::BokehKernelKey::sides

Definition at line 29 of file COM_bokeh_kernel.hh.

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

◆ size

int2 blender::realtime_compositor::BokehKernelKey::size

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