Blender V4.3
SubdParams Struct Reference

#include <dice.h>

Public Member Functions

 SubdParams (Mesh *mesh_, bool ptex_=false)

Public Attributes

Meshmesh
bool ptex
int test_steps
int split_threshold
float dicing_rate
int max_level
Cameracamera
Transform objecttoworld

Detailed Description

Definition at line 24 of file dice.h.

Constructor & Destructor Documentation

◆ SubdParams()

SubdParams::SubdParams ( Mesh * mesh_,
bool ptex_ = false )
inline

Definition at line 35 of file dice.h.

References camera, dicing_rate, max_level, mesh, NULL, ptex, split_threshold, and test_steps.

Member Data Documentation

◆ camera

Camera* SubdParams::camera

Definition at line 32 of file dice.h.

Referenced by GeometryManager::device_update(), and SubdParams().

◆ dicing_rate

float SubdParams::dicing_rate

Definition at line 30 of file dice.h.

Referenced by Mesh::get_subd_params(), and SubdParams().

◆ max_level

int SubdParams::max_level

Definition at line 31 of file dice.h.

Referenced by SubdParams().

◆ mesh

Mesh* SubdParams::mesh

Definition at line 25 of file dice.h.

Referenced by SubdParams().

◆ objecttoworld

Transform SubdParams::objecttoworld

Definition at line 33 of file dice.h.

◆ ptex

bool SubdParams::ptex

Definition at line 26 of file dice.h.

Referenced by SubdParams().

◆ split_threshold

int SubdParams::split_threshold

Definition at line 29 of file dice.h.

Referenced by SubdParams().

◆ test_steps

int SubdParams::test_steps

Definition at line 28 of file dice.h.

Referenced by SubdParams().


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