25#define MAX_HAIR_SUBDIV 4
31#define CURVES_EVAL_SHADER_NUM 3
Utilities for rendering attributes.
void drw_curves_get_attribute_sampler_name(const char *layer_name, char r_sampler_name[32])
@ CURVES_EVAL_CATMULL_ROM
bool curves_ensure_procedural_data(Curves *curves_id, CurvesEvalCache **r_cache, const GPUMaterial *gpu_material, const int subdiv, const int thickness_res)
gpu::VertBuf * proc_strand_seg_buf
gpu::VertBuf * proc_length_buf
gpu::VertBuf * proc_attributes_buf[GPU_MAX_ATTR]
gpu::VertBuf * proc_point_buf
gpu::VertBuf * proc_strand_buf
DRW_Attributes attr_used_over_time
gpu::VertBuf * attributes_buf[GPU_MAX_ATTR]
int last_attr_matching_time