28#define MAX_HAIR_SUBDIV 4
34#define CURVES_EVAL_SHADER_NUM 3
static constexpr int GPU_MAX_ATTR
void drw_curves_get_attribute_sampler_name(const StringRef 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
std::array< bool, GPU_MAX_ATTR > proc_attributes_point_domain
gpu::VertBuf * proc_strand_buf
VectorSet< std::string > attr_used_over_time
gpu::VertBuf * attributes_buf[GPU_MAX_ATTR]
VectorSet< std::string > attr_used
int last_attr_matching_time