Skip to content

CXNetworkWriteActiveEdgeNodeAttributes

function

Back to Helios Network Native C API

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

Description

Writes componentsPerNode values for each endpoint of active edges from the provided node attribute buffer into a caller-managed destination. Values are copied verbatim; the caller controls element width (componentSizeBytes) and must ensure the typed views line up with the provided byte offsets. 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 CXNetworkWriteActiveEdgeNodeAttributes( CXNetworkRef network, const uint8_t *nodeAttributes, CXSize componentsPerNode, CXSize componentSizeBytes, uint8_t *dst, CXSize dstCapacityEdges );