Function clara::holoviz::Primitive

void clara::holoviz::Primitive(PrimitiveTopology topology, uint32_t primitive_count, size_t data_size, const float *data)

Draw a geometric primitive.

Parameters:
  • topology – primitive topology

  • primitive_count – primitive count

  • data_size – size of the data array in floats

  • data – pointer to data, the format and size of the array depends on the primitive count and topology

© Copyright 2022, NVIDIA. Last updated on Jun 28, 2023.