rtcSetGeometryUserPrimitiveCount(3embree4)

rtcSetGeometryUserPrimitiveCount3embree4

Name

rtcSetGeometryUserPrimitiveCount - sets the number of primitives
  of a user-defined geometry

Synopsis

#include <embree4/rtcore.h>
void rtcSetGeometryUserPrimitiveCount(
  RTCGeometry geometry,
  unsigned int userPrimitiveCount
);

Description

The rtcSetGeometryUserPrimitiveCount function sets the number of user-defined primitives (userPrimitiveCount parameter) of the specified user-defined geometry (geometry parameter).

Exit status

On failure an error code is set that can be queried using rtcGetDeviceError.

See also

[RTC_GEOMETRY_TYPE_USER]

From embree 4.4.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.