예제 #1
0
        public static void vkGetImageMemoryRequirements(VkDevice device, VkImage image, out VkMemoryRequirements pMemoryRequirements)
        {
            VkPreconditions.CheckNull(device, nameof(device));
            VkPreconditions.CheckNull(image, nameof(image));

            GetDevice(device).GetImageMemoryRequirements(image, out pMemoryRequirements);
        }
예제 #2
0
        public static void vkGetBufferMemoryRequirements(VkDevice device, VkBuffer buffer, out VkMemoryRequirements pMemoryRequirements)
        {
            VkPreconditions.CheckNull(device, nameof(device));
            VkPreconditions.CheckNull(buffer, nameof(buffer));

            GetDevice(device).GetBufferMemoryRequirements(buffer, out pMemoryRequirements);
        }