Movatterモバイル変換


[0]ホーム

URL:


Vulkan API Reference Pageslatest

VkDeviceCreateInfo(3)

Name

VkDeviceCreateInfo - Structure specifying parameters of a newly created device

C Specification

TheVkDeviceCreateInfo structure is defined as:

// Provided by VK_VERSION_1_0typedef struct VkDeviceCreateInfo {    VkStructureType                    sType;    const void*                        pNext;    VkDeviceCreateFlags                flags;    uint32_t                           queueCreateInfoCount;    const VkDeviceQueueCreateInfo*     pQueueCreateInfos;    // enabledLayerCount is legacy and ignored    uint32_t                           enabledLayerCount;    // ppEnabledLayerNames is legacy and ignored    const char* const*                 ppEnabledLayerNames;    uint32_t                           enabledExtensionCount;    const char* const*                 ppEnabledExtensionNames;    const VkPhysicalDeviceFeatures*    pEnabledFeatures;} VkDeviceCreateInfo;

Members

  • sType is aVkStructureType value identifying this structure.

  • pNext isNULL or a pointer to a structure extending thisstructure.

  • flags is reserved for future use.

  • queueCreateInfoCount is the unsigned integer size of thepQueueCreateInfos array.Refer to theQueue Creation sectionbelow for further details.

  • pQueueCreateInfos is a pointer to an array ofVkDeviceQueueCreateInfo structures describing the queues that arerequested to be created along with the logical device.Refer to theQueue Creation sectionbelow for further details.

  • enabledLayerCount is legacy and ignored.SeeDevice Layers: Superseded via instance layers.

  • ppEnabledLayerNames is legacy and ignored.SeeDevice Layers: Superseded via instance layers.

  • enabledExtensionCount is the number of device extensions toenable.

  • ppEnabledExtensionNames is a pointer to an array ofenabledExtensionCount null-terminated UTF-8 strings containing thenames of extensions to enable for the created device.See theExtensions section for further details.

  • pEnabledFeatures isNULL or a pointer to aVkPhysicalDeviceFeatures structure containing boolean indicatorsof all the features to be enabled.Refer to theFeatures section for further details.This field is legacy.SeePhysical Device Queries: Superseded via version 2.

Description

Valid Usage
Valid Usage (Implicit)

See Also

Document Notes

For more information, see theVulkan Specification.

This page is extracted from the Vulkan Specification.Fixes and changes should be made to the Specification, not directly.


[8]ページ先頭

©2009-2026 Movatter.jp