47 GPUTexture *weights_texture_ =
nullptr;
48 GPUTexture *distance_falloffs_texture_ =
nullptr;
77 void reset()
override;
struct GPUShader GPUShader
MorphologicalDistanceFeatherWeights & get(Context &context, int type, int radius)
MorphologicalDistanceFeatherWeightsKey(int type, float radius)
void compute_weights(Context &context, int radius)
void unbind_distance_falloffs_as_texture() const
void compute_distance_falloffs(Context &context, int type, int radius)
MorphologicalDistanceFeatherWeights(Context &context, int type, int radius)
void bind_distance_falloffs_as_texture(GPUShader *shader, const char *texture_name) const
void unbind_weights_as_texture() const
~MorphologicalDistanceFeatherWeights()
void bind_weights_as_texture(GPUShader *shader, const char *texture_name) const
local_group_size(16, 16) .push_constant(Type b
bool operator==(const BokehKernelKey &a, const BokehKernelKey &b)
unsigned __int64 uint64_t