Struct vulkan_rs::VkDeviceCreateInfo
[−]
[src]
#[repr(C)]pub struct VkDeviceCreateInfo { pub sType: VkStructureType, pub pNext: *const c_void, pub flags: VkDeviceCreateFlags, pub queueCreateInfoCount: u32, pub pQueueCreateInfos: *const VkDeviceQueueCreateInfo, pub enabledLayerCount: u32, pub ppEnabledLayerNames: *const *const c_char, pub enabledExtensionCount: u32, pub ppEnabledExtensionNames: *const *const c_char, pub pEnabledFeatures: *const VkPhysicalDeviceFeatures, }
Structure specifying parameters of a newly created device
Fields
sType: VkStructureType
the type of this structure
pNext: *const c_void
NULL
or a pointer to an extension-specific structure
flags: VkDeviceCreateFlags
reserved for future use
queueCreateInfoCount: u32
the unsigned integer size of the pQueueCreateInfos
array
pQueueCreateInfos: *const VkDeviceQueueCreateInfo
a pointer to an array of VkDeviceQueueCreateInfo
structures describing the queues that are requested to be created along with the logical device
enabledLayerCount: u32
deprecated and ignored
ppEnabledLayerNames: *const *const c_char
deprecated and ignored
enabledExtensionCount: u32
the number of device extensions to enable
ppEnabledExtensionNames: *const *const c_char
a pointer to an array of enabledExtensionCount
null-terminated UTF-8 strings containing the names of extensions to enable for the created device
pEnabledFeatures: *const VkPhysicalDeviceFeatures
NULL
or a pointer to a VkPhysicalDeviceFeatures
structure that contains boolean indicators of all the features to be enabled
Trait Implementations
impl Default for VkDeviceCreateInfo
[src]
fn default() -> VkDeviceCreateInfo
Returns the "default value" for a type. Read more