public unsafe void SetViewport(int x, int y, uint width, uint height) { var viewport = new VkViewport { x = x, y = y, width = width, height = height, minDepth = 0, maxDepth = 1 }; VulkanNative.vkCmdSetViewport( _handle, 0, 1, &viewport ); }
public unsafe void SetViewport(int x, int y, uint width, uint height) { var viewport = new VkViewport { x = x, y = y, width = width, height = height, minDepth = 0, maxDepth = 1 }; VulkanNative.vkCmdSetViewport( _handle, 0, 1, &viewport ); }