Skip to content

CXNetworkWriteActiveEdgeSegments

function

Back to Helios Network Native C API

Kind
function
Source
src/native/include/helios/CXNetwork.h:314

Description

Writes two position vectors per active edge directly into the provided buffer. componentsPerNode describes how many floats to copy per endpoint (commonly 4 for vec4 data). Returns the number of edges that would be written; when dstCapacityEdges is too small, the required count is returned and no writes occur.

Signature

CX_EXTERN CXSize CXNetworkWriteActiveEdgeSegments( CXNetworkRef network, const float *positions, CXSize componentsPerNode, float *dstSegments, CXSize dstCapacityEdges );