public static extern RTPresult rtpQueryGetFinished(RTPquery query, out int isFinished);
public static extern RTPresult rtpQuerySetCudaStream(RTPquery query, IntPtr stream);
public static extern RTPresult rtpQueryExecute(RTPquery query, uint hints);
public static extern RTPresult rtpQueryFinish(RTPquery query);
public static extern RTPresult rtpQuerySetHits(RTPquery query, RTPbufferdesc hits);
public static extern RTPresult rtpQuerySetRays(RTPquery query, RTPbufferdesc rays);
public static extern RTPresult rtpQueryGetContext(RTPquery query, out RTPcontext context);
public static extern RTPresult rtpQueryCreate(RTPmodel model, RTPquerytype queryType, out RTPquery query);
public static extern RTPresult rtpQueryDestroy(RTPquery query);