|
Blender V4.3
|
#include <COM_morphological_distance_feather_weights.hh>
Inherits blender::realtime_compositor::CachedResource.
Public Member Functions | |
| MorphologicalDistanceFeatherWeights (Context &context, int type, int radius) | |
| ~MorphologicalDistanceFeatherWeights () | |
| void | compute_weights (Context &context, int radius) |
| void | compute_distance_falloffs (Context &context, int type, int radius) |
| void | bind_weights_as_texture (GPUShader *shader, const char *texture_name) const |
| void | unbind_weights_as_texture () const |
| void | bind_distance_falloffs_as_texture (GPUShader *shader, const char *texture_name) const |
| void | unbind_distance_falloffs_as_texture () const |
Additional Inherited Members | |
Public Attributes inherited from blender::realtime_compositor::CachedResource | |
| bool | needed = true |
Definition at line 45 of file COM_morphological_distance_feather_weights.hh.
| blender::realtime_compositor::MorphologicalDistanceFeatherWeights::MorphologicalDistanceFeatherWeights | ( | Context & | context, |
| int | type, | ||
| int | radius ) |
Definition at line 51 of file morphological_distance_feather_weights.cc.
References compute_distance_falloffs(), and compute_weights().
| blender::realtime_compositor::MorphologicalDistanceFeatherWeights::~MorphologicalDistanceFeatherWeights | ( | ) |
Definition at line 59 of file morphological_distance_feather_weights.cc.
References GPU_texture_free().
| void blender::realtime_compositor::MorphologicalDistanceFeatherWeights::bind_distance_falloffs_as_texture | ( | GPUShader * | shader, |
| const char * | texture_name ) const |
Definition at line 167 of file morphological_distance_feather_weights.cc.
References GPU_shader_get_sampler_binding(), and GPU_texture_bind().
Referenced by blender::realtime_compositor::horizontal_pass(), and blender::realtime_compositor::vertical_pass().
| void blender::realtime_compositor::MorphologicalDistanceFeatherWeights::bind_weights_as_texture | ( | GPUShader * | shader, |
| const char * | texture_name ) const |
Definition at line 155 of file morphological_distance_feather_weights.cc.
References GPU_shader_get_sampler_binding(), and GPU_texture_bind().
Referenced by blender::realtime_compositor::horizontal_pass(), and blender::realtime_compositor::vertical_pass().
| void blender::realtime_compositor::MorphologicalDistanceFeatherWeights::compute_distance_falloffs | ( | Context & | context, |
| int | type, | ||
| int | radius ) |
Definition at line 129 of file morphological_distance_feather_weights.cc.
References blender::realtime_compositor::compute_distance_falloff(), blender::Array< T, InlineBufferCapacity, Allocator >::data(), blender::realtime_compositor::Float, GPU_texture_create_1d(), blender::realtime_compositor::Result::gpu_texture_format(), GPU_TEXTURE_USAGE_GENERAL, and blender::Array< T, InlineBufferCapacity, Allocator >::index_range().
Referenced by MorphologicalDistanceFeatherWeights().
| void blender::realtime_compositor::MorphologicalDistanceFeatherWeights::compute_weights | ( | Context & | context, |
| int | radius ) |
Definition at line 65 of file morphological_distance_feather_weights.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::data(), blender::IndexRange::drop_front(), blender::realtime_compositor::Float, GPU_texture_create_1d(), blender::realtime_compositor::Result::gpu_texture_format(), GPU_TEXTURE_USAGE_GENERAL, blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), R_FILTER_GAUSS, RE_filter_value(), and sum().
Referenced by MorphologicalDistanceFeatherWeights().
| void blender::realtime_compositor::MorphologicalDistanceFeatherWeights::unbind_distance_falloffs_as_texture | ( | ) | const |
Definition at line 174 of file morphological_distance_feather_weights.cc.
References GPU_texture_unbind().
Referenced by blender::realtime_compositor::horizontal_pass(), and blender::realtime_compositor::vertical_pass().
| void blender::realtime_compositor::MorphologicalDistanceFeatherWeights::unbind_weights_as_texture | ( | ) | const |
Definition at line 162 of file morphological_distance_feather_weights.cc.
References GPU_texture_unbind().
Referenced by blender::realtime_compositor::horizontal_pass(), and blender::realtime_compositor::vertical_pass().