ImageGear for C and C++ on Windows v19.10 - Updated
IG_vect_view_set_cullface
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > View Functions > IG_vect_view_set_cullface

This function sets the face culling mode of the View.

Declaration:

 
Copy Code
AT_ERRCOUNT IG_vect_view_set_cullface(
        HIG_VECT_VIEW hView, 
        enumIGVectCullFace nCullFace
);

Arguments:

Name Type Description
hView HIG_VECT_VIEW Handle to the View.
nCullFace enumIGVectCullFace New face culling mode for the View.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

Vector

Remarks:

Face culling mode specifies whether to render both front- and back-facing facets, only front-facing, or only back-facing ones.