|
Blender V4.3
|
#include <COM_distortion_grid.hh>
Inherits blender::realtime_compositor::CachedResource.
Public Member Functions | |
| DistortionGrid (Context &context, MovieClip *movie_clip, int2 size, DistortionType type, int2 calibration_size) | |
| ~DistortionGrid () | |
| 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 55 of file COM_distortion_grid.hh.
| blender::realtime_compositor::DistortionGrid::DistortionGrid | ( | Context & | context, |
| MovieClip * | movie_clip, | ||
| int2 | size, | ||
| DistortionType | type, | ||
| int2 | calibration_size ) |
Definition at line 57 of file distortion_grid.cc.
References BKE_tracking_distortion_new(), blender::threading::parallel_for(), and MovieClip::tracking.
| blender::realtime_compositor::DistortionGrid::~DistortionGrid | ( | ) |
Definition at line 101 of file distortion_grid.cc.
References GPU_texture_free().
| void blender::realtime_compositor::DistortionGrid::bind_as_texture | ( | GPUShader * | shader, |
| const char * | texture_name ) const |
Definition at line 106 of file distortion_grid.cc.
References GPU_shader_get_sampler_binding(), and GPU_texture_bind().
Referenced by blender::nodes::node_composite_moviedistortion_cc::MovieDistortionOperation::execute().
| void blender::realtime_compositor::DistortionGrid::unbind_as_texture | ( | ) | const |
Definition at line 112 of file distortion_grid.cc.
References GPU_texture_unbind().
Referenced by blender::nodes::node_composite_moviedistortion_cc::MovieDistortionOperation::execute().