Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Naming inconsistencies #50

Open
Y-Less opened this issue Jun 19, 2019 · 1 comment
Open

Naming inconsistencies #50

Y-Less opened this issue Jun 19, 2019 · 1 comment

Comments

@Y-Less
Copy link
Contributor

Y-Less commented Jun 19, 2019

vkEnumerateDeviceExtensionProperties is in this library as PhysicalDevice.EnumerateDeviceExtensionProperties, duplicating the term Device. However, vkEnumerateInstanceExtensionProperties is Instance.EnumerateExtensionProperties, the second Instance has been dropped. Same for Enumerate(Thing)LayerProperties.

@FacticiusVir
Copy link
Owner

The distinction here comes from Physical Device =/= Device - the Instance enumerate method is used for getting Instance extensions to create Instance objects, all sat within the same type. The Physical Device enumerate is used to get (logical) Device extensions to create (logical) Device objects, that are a different type than that which contains the enumerate/create methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants