Blender V5.0
SubdParams Struct Reference

#include <dice.h>

Public Member Functions

 SubdParams (Mesh *mesh_, bool ptex_=false)

Public Attributes

Meshmesh = nullptr
bool ptex = false
int test_steps = 3
int split_threshold = 1
float dicing_rate = 1.0f
int max_level = 12
Cameracamera = nullptr
Transform objecttoworld = transform_identity()

Detailed Description

Definition at line 25 of file dice.h.

Constructor & Destructor Documentation

◆ SubdParams()

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

Definition at line 36 of file dice.h.

References mesh, and ptex.

Member Data Documentation

◆ camera

Camera* SubdParams::camera = nullptr

Definition at line 33 of file dice.h.

◆ dicing_rate

float SubdParams::dicing_rate = 1.0f

Definition at line 31 of file dice.h.

Referenced by GeometryManager::device_update().

◆ max_level

int SubdParams::max_level = 12

Definition at line 32 of file dice.h.

◆ mesh

Mesh* SubdParams::mesh = nullptr

Definition at line 26 of file dice.h.

Referenced by SubdParams().

◆ objecttoworld

Transform SubdParams::objecttoworld = transform_identity()

Definition at line 34 of file dice.h.

◆ ptex

bool SubdParams::ptex = false

Definition at line 27 of file dice.h.

Referenced by SubdParams().

◆ split_threshold

int SubdParams::split_threshold = 1

Definition at line 30 of file dice.h.

◆ test_steps

int SubdParams::test_steps = 3

Definition at line 29 of file dice.h.


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