HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdMeshTriQuadBuilder Class Reference

#include <meshUtil.h>

Public Member Functions

 HdMeshTriQuadBuilder (int *indicesBuffer, bool triangulate)
 
void EmitQuadFace (GfVec4i const &quadIndices)
 

Static Public Attributes

static int const NumIndicesPerQuad = 4
 
static int const NumIndicesPerTriQuad = 6
 

Detailed Description

Helper class for emitting a buffer of quad indices, optionally splitting each quad into two triangles.

Definition at line 374 of file meshUtil.h.

Constructor & Destructor Documentation

HdMeshTriQuadBuilder::HdMeshTriQuadBuilder ( int indicesBuffer,
bool  triangulate 
)
inline

Definition at line 380 of file meshUtil.h.

Member Function Documentation

void HdMeshTriQuadBuilder::EmitQuadFace ( GfVec4i const &  quadIndices)
inline

Definition at line 385 of file meshUtil.h.

Member Data Documentation

int const HdMeshTriQuadBuilder::NumIndicesPerQuad = 4
static

Definition at line 377 of file meshUtil.h.

int const HdMeshTriQuadBuilder::NumIndicesPerTriQuad = 6
static

Definition at line 378 of file meshUtil.h.


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