Skip to content
This repository has been archived by the owner on Dec 23, 2019. It is now read-only.

add removeExtensions #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ousttrue
Copy link

  • in order to prevent the platform-specific type is introduced

version(DVulkan_VK_NV_external_memory_win32)
alias PFN_vkGetMemoryWin32HandleNV = VkResult function(VkDevice device,VkDeviceMemory memory,VkExternalMemoryHandleTypeFlagsNV handleType,HANDLE* pHandle);

  • number suffixed extensions has no function and types, but only extension enum.

version(DVulkan_VK_KHR_extension_60) {
enum VK_KHR_EXTENSION_60_SPEC_VERSION = 0;
enum VK_KHR_EXTENSION_60_EXTENSION_NAME = "VK_KHR_extension_60";
}

* in order to prevent the platform-specific type is introduced

version(DVulkan_VK_NV_external_memory_win32)
alias PFN_vkGetMemoryWin32HandleNV = VkResult function(VkDevice device,VkDeviceMemory memory,VkExternalMemoryHandleTypeFlagsNV handleType,HANDLE* pHandle);

* number suffixed extensions has no function and types, but only extension enum.

version(DVulkan_VK_KHR_extension_60) {
	enum VK_KHR_EXTENSION_60_SPEC_VERSION = 0;
	enum VK_KHR_EXTENSION_60_EXTENSION_NAME = "VK_KHR_extension_60";
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant