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

#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
 

Detailed Description

Constructor & Destructor Documentation

◆ MorphologicalDistanceFeatherWeights()

blender::realtime_compositor::MorphologicalDistanceFeatherWeights::MorphologicalDistanceFeatherWeights ( Context & context,
int type,
int radius )

◆ ~MorphologicalDistanceFeatherWeights()

blender::realtime_compositor::MorphologicalDistanceFeatherWeights::~MorphologicalDistanceFeatherWeights ( )

Definition at line 59 of file morphological_distance_feather_weights.cc.

References GPU_texture_free().

Member Function Documentation

◆ bind_distance_falloffs_as_texture()

void blender::realtime_compositor::MorphologicalDistanceFeatherWeights::bind_distance_falloffs_as_texture ( GPUShader * shader,
const char * texture_name ) const

◆ bind_weights_as_texture()

void blender::realtime_compositor::MorphologicalDistanceFeatherWeights::bind_weights_as_texture ( GPUShader * shader,
const char * texture_name ) const

◆ compute_distance_falloffs()

◆ compute_weights()

◆ unbind_distance_falloffs_as_texture()

void blender::realtime_compositor::MorphologicalDistanceFeatherWeights::unbind_distance_falloffs_as_texture ( ) const

◆ unbind_weights_as_texture()

void blender::realtime_compositor::MorphologicalDistanceFeatherWeights::unbind_weights_as_texture ( ) const

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