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.

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, and roundness.

Member Data Documentation

◆ catadioptric

float blender::realtime_compositor::BokehKernelKey::catadioptric

Definition at line 32 of file COM_bokeh_kernel.hh.

Referenced by hash().

◆ lens_shift

float blender::realtime_compositor::BokehKernelKey::lens_shift

Definition at line 33 of file COM_bokeh_kernel.hh.

Referenced by hash().

◆ rotation

float blender::realtime_compositor::BokehKernelKey::rotation

Definition at line 30 of file COM_bokeh_kernel.hh.

◆ roundness

float blender::realtime_compositor::BokehKernelKey::roundness

Definition at line 31 of file COM_bokeh_kernel.hh.

Referenced by hash().

◆ sides

int blender::realtime_compositor::BokehKernelKey::sides

Definition at line 29 of file COM_bokeh_kernel.hh.

◆ size

int2 blender::realtime_compositor::BokehKernelKey::size

Definition at line 28 of file COM_bokeh_kernel.hh.


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