This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
HdMeshTriQuadBuilder Class Reference

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

#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

◆ EmitQuadFace()

void EmitQuadFace ( GfVec4i const &  quadIndices)
inline

Definition at line 385 of file meshUtil.h.

Member Data Documentation

◆ NumIndicesPerQuad

int const NumIndicesPerQuad = 4
static

Definition at line 377 of file meshUtil.h.

◆ NumIndicesPerTriQuad

int const NumIndicesPerTriQuad = 6
static

Definition at line 378 of file meshUtil.h.


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