Blender V4.3
draw_hair_private.hh File Reference

Go to the source code of this file.

Classes

struct  ParticleHairFinalCache
 
struct  ParticleHairCache
 

Namespaces

namespace  blender
 
namespace  blender::draw
 

Macros

#define MAX_LAYER_NAME_CT   4 /* `u0123456789, u, au, a0123456789`. */
 
#define MAX_LAYER_NAME_LEN   (GPU_MAX_SAFE_ATTR_NAME + 2)
 
#define MAX_THICKRES   2 /* see eHairType */
 
#define MAX_HAIR_SUBDIV   4 /* see hair_subdiv rna */
 

Enumerations

enum  ParticleRefineShader { PART_REFINE_CATMULL_ROM = 0 , PART_REFINE_MAX_SHADER }
 

Functions

bool blender::draw::particles_ensure_procedural_data (Object *object, ParticleSystem *psys, ModifierData *md, ParticleHairCache **r_hair_cache, GPUMaterial *gpu_material, int subdiv, int thickness_res)
 

Macro Definition Documentation

◆ MAX_HAIR_SUBDIV

#define MAX_HAIR_SUBDIV   4 /* see hair_subdiv rna */

Definition at line 14 of file draw_hair_private.hh.

◆ MAX_LAYER_NAME_CT

#define MAX_LAYER_NAME_CT   4 /* `u0123456789, u, au, a0123456789`. */

◆ MAX_LAYER_NAME_LEN

#define MAX_LAYER_NAME_LEN   (GPU_MAX_SAFE_ATTR_NAME + 2)

Definition at line 12 of file draw_hair_private.hh.

◆ MAX_THICKRES

#define MAX_THICKRES   2 /* see eHairType */

Definition at line 13 of file draw_hair_private.hh.

Enumeration Type Documentation

◆ ParticleRefineShader

Enumerator
PART_REFINE_CATMULL_ROM 
PART_REFINE_MAX_SHADER 

Definition at line 16 of file draw_hair_private.hh.