 RTC_SUBDIVISION_MODE_PIN_ALL
 }@@
 
-@@{
-RTCBoundaryMode
-=>
-RTCSubdivisionMode
-}@@
-
-@@{
-RTCMatrixType
-=>
-RTCFormat
-}@@
-
-@@{
-RTC_MATRIX_ROW_MAJOR
-=>
-RTC_FORMAT_FLOAT3X4_ROW_MAJOR
-}@@
-
-@@{
-RTC_MATRIX_COLUMN_MAJOR
-=>
-RTC_FORMAT_FLOAT3X4_COLUMN_MAJOR
-}@@
-
-@@{
-RTC_MATRIX_COLUMN_MAJOR_ALIGNED16
-=>
-RTC_FORMAT_FLOAT4X4_COLUMN_MAJOR
-}@@
+
+
+
 
 ///////////////////////////////////////////////////////////////////////
 // convert filter function callbacks

@@{
rtcSetBuffer(EXPR geom,RTC_BUFFER(EXPR type, EXPR slot),EXPR ptr,EXPR offset,EXPR stride)
=>
rtcSetBuffer(geom,type,slot,ptr,offset,stride)
}@@

@@{
rtcSetBuffer(EXPR geom,EXPR type, EXPR ptr,EXPR offset,EXPR stride)
=>
rtcSetBuffer(geom,type,/* FIXME: put proper slot here */,ptr,offset,stride)
}@@

@@{
rtcEnable(EXPR scene,EXPR geomID)

=>
uniform RTCGeometry geom = rtcNewTriangleMesh(device,flags,numPrimitives,numVertices,numTimeSteps);
@@{
rtcMapBuffer(EXPR geom,RTC_BUFFER_TYPE_INDEX,EXPR slot,EXPR format)
=>
rtcSetNewGeometryBuffer(geom,RTC_BUFFER_TYPE_INDEX,slot,RTC_FORMAT_UINT3,3*sizeof(uniform int),numPrimitives)
}@@
@@{
rtcSetSharedGeometryBuffer(EXPR geom,RTC_BUFFER_TYPE_INDEX,EXPR slot, EXPR format,EXPR ptr,EXPR offset,EXPR stride)
=>
rtcSetSharedGeometryBuffer(geom,RTC_BUFFER_TYPE_INDEX,slot,RTC_FORMAT_UINT3,ptr,offset,stride,numPrimitives)
}@@
@@{
rtcMapBuffer(EXPR geom,RTC_BUFFER_TYPE_VERTEX,EXPR slot, EXPR format)
=>
rtcSetNewGeometryBuffer(geom,RTC_BUFFER_TYPE_VERTEX,slot,RTC_FORMAT_FLOAT3,4*sizeof(uniform float),numVertices)
}@@
@@{
rtcSetSharedGeometryBuffer(EXPR geom,RTC_BUFFER_TYPE_VERTEX,EXPR slot, EXPR format,EXPR ptr,EXPR offset,EXPR stride)
=>
rtcSetSharedGeometryBuffer(geom,RTC_BUFFER_TYPE_VERTEX,slot,RTC_FORMAT_FLOAT3,ptr,offset,stride,numVertices)
}@@
@@{
rtcSetSharedGeometryBuffer(EXPR geom,RTC_BUFFER_TYPE_VERTEX_ATTRIBUTE,EXPR slot, EXPR format,EXPR ptr,EXPR offset,EXPR stride)
=>
rtcSetSharedGeometryBuffer(geom,RTC_BUFFER_TYPE_VERTEX_ATTRIBUTE,slot,format,ptr,offset,stride,numVertices)
}@@
}@@

