|
Blender V4.3
|
#include <COM_bokeh_kernel.hh>
Inherits blender::realtime_compositor::CachedResource.
Public Member Functions | |
| BokehKernel (Context &context, int2 size, int sides, float rotation, float roundness, float catadioptric, float lens_shift) | |
| ~BokehKernel () | |
Public Attributes | |
| Result | result |
| Public Attributes inherited from blender::realtime_compositor::CachedResource | |
| bool | needed = true |
Definition at line 48 of file COM_bokeh_kernel.hh.
| blender::realtime_compositor::BokehKernel::BokehKernel | ( | Context & | context, |
| int2 | size, | ||
| int | sides, | ||
| float | rotation, | ||
| float | roundness, | ||
| float | catadioptric, | ||
| float | lens_shift ) |
Definition at line 69 of file bokeh_kernel.cc.
References blender::realtime_compositor::Color, blender::realtime_compositor::compute_dispatch_threads_at_least(), blender::realtime_compositor::compute_exterior_angle(), blender::realtime_compositor::compute_rotation(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), result, and size().
| blender::realtime_compositor::BokehKernel::~BokehKernel | ( | ) |
Definition at line 96 of file bokeh_kernel.cc.
References result.
| Result blender::realtime_compositor::BokehKernel::result |
Definition at line 50 of file COM_bokeh_kernel.hh.
Referenced by BokehKernel(), and ~BokehKernel().