Blender  V2.93
Classes | Macros | Typedefs | Functions
draw_hair_private.h File Reference

Go to the source code of this file.

Classes

struct  ParticleHairFinalCache
 
struct  ParticleHairCache
 

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 */
 

Typedefs

typedef struct ParticleHairFinalCache ParticleHairFinalCache
 
typedef struct ParticleHairCache ParticleHairCache
 

Functions

void particle_batch_cache_clear_hair (struct ParticleHairCache *hair_cache)
 
bool particles_ensure_procedural_data (struct Object *object, struct ParticleSystem *psys, struct ModifierData *md, struct ParticleHairCache **r_hair_cache, int subdiv, int thickness_res)
 
bool hair_ensure_procedural_data (struct Object *object, struct ParticleHairCache **r_hair_cache, int subdiv, int thickness_res)
 

Macro Definition Documentation

◆ MAX_HAIR_SUBDIV

#define MAX_HAIR_SUBDIV   4 /* see hair_subdiv rna */

Definition at line 29 of file draw_hair_private.h.

◆ MAX_LAYER_NAME_CT

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

Definition at line 26 of file draw_hair_private.h.

◆ MAX_LAYER_NAME_LEN

#define MAX_LAYER_NAME_LEN   (GPU_MAX_SAFE_ATTR_NAME + 2)

Definition at line 27 of file draw_hair_private.h.

◆ MAX_THICKRES

#define MAX_THICKRES   2 /* see eHairType */

Definition at line 28 of file draw_hair_private.h.

Typedef Documentation

◆ ParticleHairCache

◆ ParticleHairFinalCache

Function Documentation

◆ hair_ensure_procedural_data()

bool hair_ensure_procedural_data ( struct Object object,
struct ParticleHairCache **  r_hair_cache,
int  subdiv,
int  thickness_res 
)

◆ particle_batch_cache_clear_hair()

void particle_batch_cache_clear_hair ( struct ParticleHairCache hair_cache)

◆ particles_ensure_procedural_data()

bool particles_ensure_procedural_data ( struct Object object,
struct ParticleSystem psys,
struct ModifierData md,
struct ParticleHairCache **  r_hair_cache,
int  subdiv,
int  thickness_res 
)