Blender V5.0
SubdivToCCGSettings Struct Reference

#include <BKE_subdiv_ccg.hh>

Public Attributes

int resolution
bool need_normal
bool need_mask

Detailed Description

Definition at line 55 of file BKE_subdiv_ccg.hh.

Member Data Documentation

◆ need_mask

bool SubdivToCCGSettings::need_mask

Definition at line 66 of file BKE_subdiv_ccg.hh.

Referenced by multires_ccg_settings_init(), and subdiv_ccg_settings_init().

◆ need_normal

bool SubdivToCCGSettings::need_normal

Denotes which extra layers to be added to CCG elements.

Definition at line 65 of file BKE_subdiv_ccg.hh.

Referenced by multires_ccg_settings_init(), and subdiv_ccg_settings_init().

◆ resolution

int SubdivToCCGSettings::resolution

Resolution at which regular ptex (created for quad face) are being evaluated. This defines how many vertices final mesh will have: every regular ptex has resolution^2 vertices. Special (irregular, or ptex created for a corner of non-quad face) will have resolution of resolution - 1.

Definition at line 63 of file BKE_subdiv_ccg.hh.

Referenced by BKE_subdiv_to_ccg(), deform_matrices(), multires_as_ccg(), multires_ccg_settings_init(), subdiv_as_ccg(), and subdiv_ccg_settings_init().


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