Blender  V2.93
Public Attributes | List of all members
ParticleHairCache Struct Reference

#include <draw_hair_private.h>

Public Attributes

GPUVertBufpos
 
GPUIndexBufindices
 
GPUBatchhairs
 
GPUVertBufproc_point_buf
 
GPUTexturepoint_tex
 
GPUVertBufproc_strand_buf
 
GPUTexturestrand_tex
 
GPUVertBufproc_strand_seg_buf
 
GPUTexturestrand_seg_tex
 
GPUVertBufproc_uv_buf [MAX_MTFACE]
 
GPUTextureuv_tex [MAX_MTFACE]
 
char uv_layer_names [MAX_MTFACE][MAX_LAYER_NAME_CT][MAX_LAYER_NAME_LEN]
 
GPUVertBufproc_col_buf [MAX_MCOL]
 
GPUTexturecol_tex [MAX_MCOL]
 
char col_layer_names [MAX_MCOL][MAX_LAYER_NAME_CT][MAX_LAYER_NAME_LEN]
 
int num_uv_layers
 
int num_col_layers
 
ParticleHairFinalCache final [MAX_HAIR_SUBDIV]
 
int strands_len
 
int elems_len
 
int point_len
 

Detailed Description

Definition at line 47 of file draw_hair_private.h.

Member Data Documentation

◆ col_layer_names

char ParticleHairCache::col_layer_names[MAX_MCOL][MAX_LAYER_NAME_CT][MAX_LAYER_NAME_LEN]

◆ col_tex

GPUTexture* ParticleHairCache::col_tex[MAX_MCOL]

◆ elems_len

int ParticleHairCache::elems_len

◆ final

ParticleHairFinalCache ParticleHairCache::final[MAX_HAIR_SUBDIV]

◆ hairs

GPUBatch* ParticleHairCache::hairs

◆ indices

GPUIndexBuf* ParticleHairCache::indices

◆ num_col_layers

int ParticleHairCache::num_col_layers

◆ num_uv_layers

int ParticleHairCache::num_uv_layers

◆ point_len

int ParticleHairCache::point_len

◆ point_tex

GPUTexture* ParticleHairCache::point_tex

◆ pos

GPUVertBuf* ParticleHairCache::pos

◆ proc_col_buf

GPUVertBuf* ParticleHairCache::proc_col_buf[MAX_MCOL]

◆ proc_point_buf

GPUVertBuf* ParticleHairCache::proc_point_buf

◆ proc_strand_buf

GPUVertBuf* ParticleHairCache::proc_strand_buf

Infos of control points strands (segment count and base index)

Definition at line 57 of file draw_hair_private.h.

Referenced by hair_batch_cache_ensure_procedural_strand_data(), particle_batch_cache_clear_hair(), and particle_batch_cache_ensure_procedural_strand_data().

◆ proc_strand_seg_buf

GPUVertBuf* ParticleHairCache::proc_strand_seg_buf

◆ proc_uv_buf

GPUVertBuf* ParticleHairCache::proc_uv_buf[MAX_MTFACE]

◆ strand_seg_tex

GPUTexture* ParticleHairCache::strand_seg_tex

◆ strand_tex

GPUTexture* ParticleHairCache::strand_tex

◆ strands_len

int ParticleHairCache::strands_len

◆ uv_layer_names

char ParticleHairCache::uv_layer_names[MAX_MTFACE][MAX_LAYER_NAME_CT][MAX_LAYER_NAME_LEN]

◆ uv_tex

GPUTexture* ParticleHairCache::uv_tex[MAX_MTFACE]

The documentation for this struct was generated from the following file: