API Reference > Extension Classes > ExRender Classes > ExGsGradientRender Class > ExGsGradientRender Methods > ExGsGradientRender::renderTriangles Method
ExGsGradientRender::renderTriangles Method
Syntax
C++
bool renderTriangles(TRIVERTEX* verts, OdUInt32 nVerts, GRADIENT_TRIANGLE* triangles, OdUInt32 nTriangles);
Parameters 
Description 
TRIVERTEX* verts 
[in] Pointer to vertices.  
OdUInt32 nVerts 
[in] Vertices count.  
GRADIENT_TRIANGLE* triangles 
[in] Pointer to triangles.  
OdUInt32 nTriangles 
[in] Triangles count. 

Render gradient triangles to the context.

All trivial triangles will be skipped.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.