Blender  V3.3
Public Member Functions | Public Attributes | List of all members
Patch Class Referenceabstract

#include <patch.h>

Inheritance diagram for Patch:
BicubicPatch LinearQuadPatch

Public Member Functions

 Patch ()
 
virtual ~Patch ()=default
 
virtual void eval (float3 *P, float3 *dPdu, float3 *dPdv, float3 *N, float u, float v)=0
 

Public Attributes

int patch_index
 
int shader
 
bool from_ngon
 

Detailed Description

Definition at line 12 of file subd/patch.h.

Constructor & Destructor Documentation

◆ Patch()

Patch::Patch ( )
inline

Definition at line 14 of file subd/patch.h.

◆ ~Patch()

virtual Patch::~Patch ( )
virtualdefault

Member Function Documentation

◆ eval()

virtual void Patch::eval ( float3 P,
float3 dPdu,
float3 dPdv,
float3 N,
float  u,
float  v 
)
pure virtual

Member Data Documentation

◆ from_ngon

bool Patch::from_ngon

Definition at line 24 of file subd/patch.h.

Referenced by Mesh::tessellate().

◆ patch_index

int Patch::patch_index

Definition at line 22 of file subd/patch.h.

Referenced by EdgeDice::add_triangle(), and Mesh::tessellate().

◆ shader

int Patch::shader

Definition at line 23 of file subd/patch.h.

Referenced by EdgeDice::add_triangle(), and Mesh::tessellate().


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