 potentialHit->
 }@@
 }@@
-
-//@@{
-//void EXPR intersectionFilter(const void* ID valid_in, void* ID geomUserPtr_in, RTCRay& ID ray_in)
-//{
-//=>
-//void intersectionFilter(const uniform RTCFilterFunctionNArguments* const uniform args)
-//{
-//  const void* uniform valid_in = args->valid;
-//  const varying int* uniform vvalid = (const varying int* uniform ) valid;
-//  void* uniform geomUserPtr_in = args->geomUserPtr;
-//  COMMENT RTCIntersectContext* uniform context = args->context;
-//  COMMENT varying RTCRay* uniform ray_in = (varying RTCRay* uniform ) args->ray;
-//  RTCHit* uniform potentialHit = (RTCHit* uniform ) args->potentialHit;
-//  uniform unsigned int N = args->N;
-//  assert(N == __programCount);
-//@@{
-//ray_in.
-//=>
-//potentialHit->
-//}@@
-//}@@
 
 @@{
 void EXPR intersectionFilterN(int* ID valid_in, void* ID geomUserPtr_in, const RTCIntersectContext* ID context_in, RTCRayN* ID ray_in, const RTCHitN* ID potentialHit_in, const size_t ID N_in)

@@{
rtcNewCurveGeometry (EXPR device,EXPR basis,EXPR intersector,EXPR flags,EXPR numPrimitives,EXPR numVertices,EXPR numTimeSteps)
=>
rtcNewCurveGeometry (device,basis)
}@@



// convert filter function callbacks

@@{
RTCFilterFunc
=>
RTCFilterFunctionN
}@@

@@{
RTCFilterFunc4
=>
RTCFilterFunctionN
}@@

@@{
RTCFilterFunc8
=>
RTCFilterFunctionN
}@@

@@{
RTCFilterFunc16
=>
RTCFilterFunctionN
}@@

@@{
RTCFilterFuncN
=>
RTCFilterFunctionN
}@@

@@{
void EXPR intersectionFilter(void* ID geomUserPtr_in, RTCRay& ID ray_in)
{
=>
