예제 #1
0
 public void CmdCopyQueryPoolResults(QueryPool queryPool, UInt32 firstQuery, UInt32 queryCount, VulkanBuffer dstBuffer, DeviceSize dstOffset, DeviceSize stride, QueryResultFlags flags = (QueryResultFlags)0)
 {
     unsafe {
         Interop.NativeMethods.vkCmdCopyQueryPoolResults(this.m, queryPool != null ? queryPool.m : default(UInt64), firstQuery, queryCount, dstBuffer != null ? dstBuffer.m : default(UInt64), dstOffset, stride, flags);
     }
 }
예제 #2
0
 public void CmdWriteTimestamp(PipelineStageFlags pipelineStage, QueryPool queryPool, UInt32 query)
 {
     unsafe {
         Interop.NativeMethods.vkCmdWriteTimestamp(this.m, pipelineStage, queryPool != null ? queryPool.m : default(UInt64), query);
     }
 }
예제 #3
0
 public void CmdEndQuery(QueryPool queryPool, UInt32 query)
 {
     unsafe {
         Interop.NativeMethods.vkCmdEndQuery(this.m, queryPool != null ? queryPool.m : default(UInt64), query);
     }
 }
예제 #4
0
 public void CmdResetQueryPool(QueryPool queryPool, UInt32 firstQuery, UInt32 queryCount)
 {
     unsafe {
         Interop.NativeMethods.vkCmdResetQueryPool(this.m, queryPool != null ? queryPool.m : default(UInt64), firstQuery, queryCount);
     }
 }
예제 #5
0
 public void CmdBeginQuery(QueryPool queryPool, UInt32 query, QueryControlFlags flags = (QueryControlFlags)0)
 {
     unsafe {
         Interop.NativeMethods.vkCmdBeginQuery(this.m, queryPool != null ? queryPool.m : default(UInt64), query, flags);
     }
 }