43 selection =
curves.selection_point_float();
46 selection =
curves.selection_curve_float();
64 ".selection_curve_float";
68 curves, name, &is_point_domain);
69 if (texture ==
nullptr) {
76 if (*texture ==
nullptr) {
Low-level operations for curves.
@ CV_SCULPT_SELECTION_ENABLED
#define DRW_PASS_CREATE(pass, state)
void GPU_framebuffer_bind(GPUFrameBuffer *fb)
struct GPUShader GPUShader
struct GPUTexture GPUTexture
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to curves
T get_internal_single() const
static CurvesGeometry & wrap(::CurvesGeometry &dna_struct)
struct GPUTexture ** DRW_curves_texture_for_evaluated_attribute(struct Curves *curves, const char *name, bool *r_is_point_domain)
struct DRWShadingGroup * DRW_shgroup_curves_create_sub(struct Object *object, struct DRWShadingGroup *shgrp, struct GPUMaterial *gpu_material)
bool DRW_state_is_fbo(void)
void DRW_shgroup_uniform_float_copy(DRWShadingGroup *shgroup, const char *name, const float value)
void DRW_shgroup_uniform_texture(DRWShadingGroup *shgroup, const char *name, const GPUTexture *tex)
DRWShadingGroup * DRW_shgroup_create(struct GPUShader *shader, DRWPass *pass)
void DRW_shgroup_uniform_bool_copy(DRWShadingGroup *shgroup, const char *name, const bool value)
void DRW_draw_pass(DRWPass *pass)
ccl_gpu_kernel_postfix ccl_global float int int int int sh
GPUShader * OVERLAY_shader_sculpt_curves_selection(void)
void OVERLAY_sculpt_curves_cache_init(OVERLAY_Data *vedata)
static bool everything_selected(const Curves &curves_id)
void OVERLAY_sculpt_curves_cache_populate(OVERLAY_Data *vedata, Object *object)
void OVERLAY_sculpt_curves_draw(OVERLAY_Data *vedata)
OVERLAY_StorageList * stl
OVERLAY_FramebufferList * fbl
struct GPUFrameBuffer * overlay_in_front_fb
struct GPUFrameBuffer * overlay_default_fb
DRWPass * sculpt_curves_selection_ps
DRWShadingGroup * sculpt_curves_selection_grp
struct OVERLAY_PrivateData::@257 painting
struct OVERLAY_PrivateData * pd
float sculpt_mode_mask_opacity