Blender  V3.3
Public Member Functions | Public Attributes | List of all members
Mesh::SubdFace Struct Reference

#include <mesh.h>

Public Member Functions

bool is_quad ()
 
float3 normal (const Mesh *mesh) const
 
int num_ptex_faces () const
 

Public Attributes

int start_corner
 
int num_corners
 
int shader
 
bool smooth
 
int ptex_offset
 

Detailed Description

Definition at line 85 of file scene/mesh.h.

Member Function Documentation

◆ is_quad()

bool Mesh::SubdFace::is_quad ( )
inline

Definition at line 92 of file scene/mesh.h.

References num_corners.

Referenced by Mesh::pack_patches(), DiagSplit::split_patches(), and Mesh::tessellate().

◆ normal()

float3 Mesh::SubdFace::normal ( const Mesh mesh) const

◆ num_ptex_faces()

int Mesh::SubdFace::num_ptex_faces ( ) const
inline

Member Data Documentation

◆ num_corners

int Mesh::SubdFace::num_corners

◆ ptex_offset

int Mesh::SubdFace::ptex_offset

◆ shader

int Mesh::SubdFace::shader

Definition at line 88 of file scene/mesh.h.

Referenced by Mesh::get_subd_face(), and Mesh::tessellate().

◆ smooth

bool Mesh::SubdFace::smooth

Definition at line 89 of file scene/mesh.h.

Referenced by Mesh::get_subd_face(), mikk_get_normal(), and Mesh::tessellate().

◆ start_corner

int Mesh::SubdFace::start_corner

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