#include <maya/MPxIndexBufferMutator.h>
{
public:
CrackFreePrimitiveGenerator(bool addAdjacentEdges, bool addDominantEdges, bool addDominantPosition);
~CrackFreePrimitiveGenerator() override;
int& primitiveStride) const override;
static void mutateIndexBuffer(
const MUintArray& originalBufferIndices,
const float* positionBufferFloat,
const float* uvBufferFloat,
bool bAddAdjacentEdges,
bool bAddDominantEdges,
bool bAddDominantPosition,
void* indexData );
static unsigned int computeTriangleSize( bool bAddAdjacentEdges,
bool bAddDominantEdges,
bool bAddDominantPosition);
private:
bool fAddAdjacentEdges;
bool fAddDominantEdges;
bool fAddDominantPosition;
};