/// <inheritdoc/> protected internal override void OnDestroyed() { GraphicsDevice.Collect(NativeQueryPool); NativeQueryPool = VkQueryPool.Null; base.OnDestroyed(); }
public static extern VkResult GetQueryPoolResults( VkDevice device, VkQueryPool queryPool, uint firstQuery, uint queryCount, ulong dataSize, IntPtr pData, ulong stride, VkQueryResultFlags flags );
public static extern void CmdCopyQueryPoolResults( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint firstQuery, uint queryCount, VkBuffer dstBuffer, ulong dstOffset, ulong stride, VkQueryResultFlags flags );
public static extern void DestroyQueryPool( VkDevice device, VkQueryPool queryPool, IntPtr pAllocator );
public static extern VkResult CreateQueryPool( VkDevice device, ref VkQueryPoolCreateInfo pCreateInfo, IntPtr pAllocator, out VkQueryPool pQueryPool );
public static extern void CmdWriteTimestamp( VkCommandBuffer commandBuffer, VkPipelineStageFlags pipelineStage, VkQueryPool queryPool, uint query );
public static extern void CmdResetQueryPool( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint firstQuery, uint queryCount );
public static extern void CmdEndQuery( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint query );
public static extern void CmdBeginQuery( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint query, VkQueryControlFlags flags );