|
Blender V4.3
|
#include <COM_symmetric_separable_blur_weights.hh>
Inherits blender::realtime_compositor::CachedResource.
Public Member Functions | |
| SymmetricSeparableBlurWeights (Context &context, int type, float radius) | |
| ~SymmetricSeparableBlurWeights () | |
| 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 50 of file COM_symmetric_separable_blur_weights.hh.
| blender::realtime_compositor::SymmetricSeparableBlurWeights::SymmetricSeparableBlurWeights | ( | Context & | context, |
| int | type, | ||
| float | radius ) |
Definition at line 48 of file symmetric_separable_blur_weights.cc.
References blender::math::ceil(), blender::Array< T, InlineBufferCapacity, Allocator >::data(), blender::IndexRange::drop_front(), blender::realtime_compositor::Float, GPU_SAMPLER_EXTEND_MODE_EXTEND, GPU_texture_create_1d(), GPU_texture_extend_mode(), GPU_texture_filter_mode(), blender::realtime_compositor::Result::gpu_texture_format(), GPU_TEXTURE_USAGE_GENERAL, blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), RE_filter_value(), and sum().
| blender::realtime_compositor::SymmetricSeparableBlurWeights::~SymmetricSeparableBlurWeights | ( | ) |
Definition at line 91 of file symmetric_separable_blur_weights.cc.
References GPU_texture_free().
| void blender::realtime_compositor::SymmetricSeparableBlurWeights::bind_as_texture | ( | GPUShader * | shader, |
| const char * | texture_name ) const |
Definition at line 96 of file symmetric_separable_blur_weights.cc.
References GPU_shader_get_sampler_binding(), and GPU_texture_bind().
Referenced by blender::realtime_compositor::horizontal_pass(), blender::realtime_compositor::horizontal_pass(), blender::realtime_compositor::vertical_pass(), and blender::realtime_compositor::vertical_pass().
| void blender::realtime_compositor::SymmetricSeparableBlurWeights::unbind_as_texture | ( | ) | const |
Definition at line 103 of file symmetric_separable_blur_weights.cc.
References GPU_texture_unbind().
Referenced by blender::realtime_compositor::horizontal_pass(), blender::realtime_compositor::horizontal_pass(), blender::realtime_compositor::vertical_pass(), and blender::realtime_compositor::vertical_pass().