Example #1
0
 /// <summary>
 /// Submits a GPU timestamp query.
 /// </summary>
 /// <param name="queryPool">The <see cref="QueryPool"/> owning the query.</param>
 /// <param name="index">The query index.</param>
 public void WriteTimestamp(QueryPool queryPool, int index)
 {
     nativeDeviceContext.End(queryPool.NativeQueries[index]);
 }