|
Blender V4.3
|
#include <COM_symmetric_blur_weights.hh>
Inherits blender::realtime_compositor::CachedResource.
Public Member Functions | |
| SymmetricBlurWeights (Context &context, int type, float2 radius) | |
| ~SymmetricBlurWeights () | |
| void | bind_as_texture (GPUShader *shader, const char *texture_name) const |
| void | unbind_as_texture () const |
Additional Inherited Members | |
Public Attributes inherited from blender::realtime_compositor::CachedResource | |
| bool | needed = true |
Definition at line 44 of file COM_symmetric_blur_weights.hh.
| blender::realtime_compositor::SymmetricBlurWeights::SymmetricBlurWeights | ( | Context & | context, |
| int | type, | ||
| float2 | radius ) |
Definition at line 48 of file symmetric_blur_weights.cc.
References blender::math::ceil(), blender::Array< T, InlineBufferCapacity, Allocator >::data(), blender::IndexRange::drop_front(), blender::realtime_compositor::Float, GPU_texture_create_2d(), blender::realtime_compositor::Result::gpu_texture_format(), GPU_TEXTURE_USAGE_GENERAL, blender::math::length(), RE_filter_value(), blender::math::safe_divide(), sum(), x, and y.
| blender::realtime_compositor::SymmetricBlurWeights::~SymmetricBlurWeights | ( | ) |
Definition at line 111 of file symmetric_blur_weights.cc.
References GPU_texture_free().
| void blender::realtime_compositor::SymmetricBlurWeights::bind_as_texture | ( | GPUShader * | shader, |
| const char * | texture_name ) const |
Definition at line 116 of file symmetric_blur_weights.cc.
References GPU_shader_get_sampler_binding(), and GPU_texture_bind().
Referenced by blender::nodes::node_composite_blur_cc::BlurOperation::execute_constant_size(), and blender::nodes::node_composite_blur_cc::BlurOperation::execute_variable_size().
| void blender::realtime_compositor::SymmetricBlurWeights::unbind_as_texture | ( | ) | const |
Definition at line 122 of file symmetric_blur_weights.cc.
References GPU_texture_unbind().
Referenced by blender::nodes::node_composite_blur_cc::BlurOperation::execute_constant_size(), and blender::nodes::node_composite_blur_cc::BlurOperation::execute_variable_size().