Blender V5.3
blender::SubdivToCCGSettings Struct Reference

#include <BKE_subdiv_ccg.hh>

Public Attributes

int resolution
bool need_normal
bool need_mask

Detailed Description

Definition at line 59 of file BKE_subdiv_ccg.hh.

Member Data Documentation

◆ need_mask

bool blender::SubdivToCCGSettings::need_mask

◆ need_normal

bool blender::SubdivToCCGSettings::need_normal

Denotes which extra layers to be added to CCG elements.

Definition at line 69 of file BKE_subdiv_ccg.hh.

Referenced by blender::multires_ccg_settings_init(), blender::bke::tests::GridsBVHTest::SetUp(), and blender::subdiv_ccg_settings_init().

◆ resolution

int blender::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 67 of file BKE_subdiv_ccg.hh.

Referenced by blender::BKE_subdiv_to_ccg(), blender::deform_matrices(), blender::multires_as_ccg(), blender::multires_ccg_settings_init(), blender::bke::tests::GridsBVHTest::SetUp(), blender::subdiv_as_ccg(), and blender::subdiv_ccg_settings_init().


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