Blender V4.3
draw_curves_private.hh File Reference
#include "GPU_shader.hh"
#include "draw_attributes.hh"

Go to the source code of this file.

Classes

struct  blender::draw::CurvesEvalFinalCache
 
struct  blender::draw::CurvesEvalCache
 

Namespaces

namespace  blender
 
namespace  blender::gpu
 
namespace  blender::draw
 

Macros

#define MAX_THICKRES   2 /* see eHairType */
 
#define MAX_HAIR_SUBDIV   4 /* see hair_subdiv rna */
 
#define CURVES_EVAL_SHADER_NUM   3
 

Enumerations

enum  blender::draw::CurvesEvalShader { blender::draw::CURVES_EVAL_CATMULL_ROM = 0 , blender::draw::CURVES_EVAL_BEZIER = 1 }
 

Functions

bool blender::draw::curves_ensure_procedural_data (Curves *curves_id, CurvesEvalCache **r_cache, const GPUMaterial *gpu_material, const int subdiv, const int thickness_res)
 
void blender::draw::drw_curves_get_attribute_sampler_name (const char *layer_name, char r_sampler_name[32])
 

Macro Definition Documentation

◆ CURVES_EVAL_SHADER_NUM

#define CURVES_EVAL_SHADER_NUM   3

Definition at line 31 of file draw_curves_private.hh.

◆ MAX_HAIR_SUBDIV

#define MAX_HAIR_SUBDIV   4 /* see hair_subdiv rna */

◆ MAX_THICKRES