Blender  V3.3
Classes | Macros | Typedefs | Enumerations | 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 enum ParticleRefineShader ParticleRefineShader
 
typedef struct ParticleHairFinalCache ParticleHairFinalCache
 
typedef struct ParticleHairCache ParticleHairCache
 

Enumerations

enum  ParticleRefineShader { PART_REFINE_CATMULL_ROM = 0 , PART_REFINE_MAX_SHADER }
 

Functions

bool particles_ensure_procedural_data (struct Object *object, struct ParticleSystem *psys, struct ModifierData *md, struct ParticleHairCache **r_hair_cache, struct 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 17 of file draw_hair_private.h.

◆ MAX_LAYER_NAME_CT

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

Definition at line 14 of file draw_hair_private.h.

◆ MAX_LAYER_NAME_LEN

#define MAX_LAYER_NAME_LEN   (GPU_MAX_SAFE_ATTR_NAME + 2)

Definition at line 15 of file draw_hair_private.h.

◆ MAX_THICKRES

#define MAX_THICKRES   2 /* see eHairType */

Definition at line 16 of file draw_hair_private.h.

Typedef Documentation

◆ ParticleHairCache

◆ ParticleHairFinalCache

◆ ParticleRefineShader

Enumeration Type Documentation

◆ ParticleRefineShader

Enumerator
PART_REFINE_CATMULL_ROM 
PART_REFINE_MAX_SHADER 

Definition at line 19 of file draw_hair_private.h.

Function Documentation

◆ particles_ensure_procedural_data()

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