rtcSetGeometryUserPrimitiveCount
- Provided by: libembree-dev (Version: 4.3.0+dfsg-2)
- Source: embree
- Report a bug
rtcSetGeometryUserPrimitiveCount - sets the number of primitives
of a user-defined geometry
#include <embree4/rtcore.h>
void rtcSetGeometryUserPrimitiveCount(
RTCGeometry geometry,
unsigned int userPrimitiveCount
);
The rtcSetGeometryUserPrimitiveCount function sets the number of user-defined primitives (userPrimitiveCount parameter) of the specified user-defined geometry (geometry parameter).
On failure an error code is set that can be queried using rtcGetDeviceError.
[RTC_GEOMETRY_TYPE_USER]