|
PEP_structTRIANGLEDATA
Purpose This property is used to add polygon data to a 3D object when PolyMode is set to PEPM_POLYGONDATA. To add polygons to any 3d chart, use PEP_structGRAPHANNOTTRIANGLEDATA. This property is a replacement of the legacy property and structure PEP_structPOLYDATA. Using TriangleData allows for ComputeShader = True, where-as PEP_structPOLYGONDATA does not support ComputeShader.
The PEP_structTRIANGLEDATA property uses the TriangleData structure as follows
Comments Use PEvset to pass triangle data into object. Instead of passing all the triangles, one can use PEP_structTRIANGLEDATAPTR to share the pointer to your apps data. If using the zero-copy pointer, be sure your triangle memory lifecycle is maintained along with the chart. For .Net, pin the memory if less than 100K bytes.
Within the demo, see example 406, 415.
Refer to Chapter 7 and the example code on more information on using this property.
|
|
©2026 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |
|