Blender V4.3
blender::realtime_compositor::DistortionGrid Class Reference

#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
 

Detailed Description

Definition at line 55 of file COM_distortion_grid.hh.

Constructor & Destructor Documentation

◆ DistortionGrid()

blender::realtime_compositor::DistortionGrid::DistortionGrid ( Context & context,
MovieClip * movie_clip,
int2 size,
DistortionType type,
int2 calibration_size )

◆ ~DistortionGrid()

blender::realtime_compositor::DistortionGrid::~DistortionGrid ( )

Definition at line 101 of file distortion_grid.cc.

References GPU_texture_free().

Member Function Documentation

◆ bind_as_texture()

void blender::realtime_compositor::DistortionGrid::bind_as_texture ( GPUShader * shader,
const char * texture_name ) const

◆ unbind_as_texture()

void blender::realtime_compositor::DistortionGrid::unbind_as_texture ( ) const

The documentation for this class was generated from the following files: