GLUS
Functions
glus_shape_adjacency.h File Reference

Go to the source code of this file.

Functions

GLUSAPI GLUSboolean GLUSAPIENTRY glusShapeCreateAdjacencyIndicesf (GLUSshape *adjacencyShape, const GLUSshape *sourceShape)
 Creates a shape with adjacent index data for a triangle. More...
 

Function Documentation

GLUSAPI GLUSboolean GLUSAPIENTRY glusShapeCreateAdjacencyIndicesf ( GLUSshape adjacencyShape,
const GLUSshape sourceShape 
)

Creates a shape with adjacent index data for a triangle.

Can be used in the geometry shader.

Parameters
adjacencyShapeThe shape with additional adjacent index data.
sourceShapeThe source shape.
Returns
GLUS_TRUE, if creation succeeded.