Ejemplo n.º 1
0
        /// <inheritdoc/>
        protected internal override void OnDestroyed()
        {
            GraphicsDevice.Collect(NativeQueryPool);
            NativeQueryPool = VkQueryPool.Null;

            base.OnDestroyed();
        }
Ejemplo n.º 2
0
 public static extern VkResult GetQueryPoolResults(
     VkDevice device,
     VkQueryPool queryPool,
     uint firstQuery,
     uint queryCount,
     ulong dataSize,
     IntPtr pData,
     ulong stride,
     VkQueryResultFlags flags
     );
Ejemplo n.º 3
0
 public static extern void CmdCopyQueryPoolResults(
     VkCommandBuffer commandBuffer,
     VkQueryPool queryPool,
     uint firstQuery,
     uint queryCount,
     VkBuffer dstBuffer,
     ulong dstOffset,
     ulong stride,
     VkQueryResultFlags flags
     );
Ejemplo n.º 4
0
 public static extern void DestroyQueryPool(
     VkDevice device,
     VkQueryPool queryPool,
     IntPtr pAllocator
     );
Ejemplo n.º 5
0
 public static extern VkResult CreateQueryPool(
     VkDevice device,
     ref VkQueryPoolCreateInfo pCreateInfo,
     IntPtr pAllocator,
     out VkQueryPool pQueryPool
     );
Ejemplo n.º 6
0
 public static extern void CmdWriteTimestamp(
     VkCommandBuffer commandBuffer,
     VkPipelineStageFlags pipelineStage,
     VkQueryPool queryPool,
     uint query
     );
Ejemplo n.º 7
0
 public static extern void CmdResetQueryPool(
     VkCommandBuffer commandBuffer,
     VkQueryPool queryPool,
     uint firstQuery,
     uint queryCount
     );
Ejemplo n.º 8
0
 public static extern void CmdEndQuery(
     VkCommandBuffer commandBuffer,
     VkQueryPool queryPool,
     uint query
     );
Ejemplo n.º 9
0
 public static extern void CmdBeginQuery(
     VkCommandBuffer commandBuffer,
     VkQueryPool queryPool,
     uint query,
     VkQueryControlFlags flags
     );