ReactOS 0.4.17-dev-934-g091855f
vkd3d_device_create_info Struct Reference

#include <vkd3d.h>

Collaboration diagram for vkd3d_device_create_info:

Public Attributes

enum vkd3d_structure_type type
 
const void * next
 
D3D_FEATURE_LEVEL minimum_feature_level
 
struct vkd3d_instance * instance
 
const struct vkd3d_instance_create_info * instance_create_info
 
VkPhysicalDevice vk_physical_device
 
const char *const * device_extensions
 
uint32_t device_extension_count
 
IUnknown * parent
 
LUID adapter_luid
 

Detailed Description

A chained structure containing device creation parameters.

Definition at line 246 of file vkd3d.h.

Member Data Documentation

◆ adapter_luid

LUID vkd3d_device_create_info::adapter_luid

The adapter LUID to be set for the device. This is not used by vkd3d except for being returned by GetAdapterLuid.

Definition at line 293 of file vkd3d.h.

Referenced by d3d12_device_init(), and D3D12CreateDevice().

◆ device_extension_count

uint32_t vkd3d_device_create_info::device_extension_count

The number of elements in the device_extensions array.

Definition at line 282 of file vkd3d.h.

Referenced by D3D12CreateDevice(), vkd3d_check_device_extensions(), and vkd3d_create_vk_device().

◆ device_extensions

const char* const* vkd3d_device_create_info::device_extensions

A list of Vulkan device extensions to request. They are intended as required, so device creation will fail if any of them is not available.

Definition at line 280 of file vkd3d.h.

Referenced by D3D12CreateDevice(), vkd3d_check_device_extensions(), and vkd3d_create_vk_device().

◆ instance

struct vkd3d_instance* vkd3d_device_create_info::instance

The vkd3d instance to use to create a device. Either this or instance_create_info must be set.

Definition at line 261 of file vkd3d.h.

Referenced by D3D12CreateDevice(), and vkd3d_create_device().

◆ instance_create_info

const struct vkd3d_instance_create_info* vkd3d_device_create_info::instance_create_info

The parameters used to create an instance, which is then used to create a device. Either this or instance must be set.

Definition at line 266 of file vkd3d.h.

Referenced by D3D12CreateDevice(), and vkd3d_create_device().

◆ minimum_feature_level

D3D_FEATURE_LEVEL vkd3d_device_create_info::minimum_feature_level

The minimum feature level to request. Device creation will fail with E_INVALIDARG if the Vulkan device doesn't have the features needed to fulfill the request.

Definition at line 255 of file vkd3d.h.

Referenced by D3D12CreateDevice(), vkd3d_create_device(), and vkd3d_init_device_caps().

◆ next

const void* vkd3d_device_create_info::next

Optional pointer to a structure containing further parameters.

Definition at line 251 of file vkd3d.h.

Referenced by D3D12CreateDevice(), vkd3d_check_device_extensions(), and vkd3d_create_vk_device().

◆ parent

IUnknown* vkd3d_device_create_info::parent

An object to be set as the device parent. This is not used by vkd3d except for being returned by vkd3d_get_device_parent.

Definition at line 288 of file vkd3d.h.

Referenced by d3d12_device_init(), and D3D12CreateDevice().

◆ type

enum vkd3d_structure_type vkd3d_device_create_info::type

Must be set to VKD3D_STRUCTURE_TYPE_DEVICE_CREATE_INFO.

Definition at line 249 of file vkd3d.h.

Referenced by D3D12CreateDevice(), and vkd3d_create_device().

◆ vk_physical_device

VkPhysicalDevice vkd3d_device_create_info::vk_physical_device

The Vulkan physical device to use. If it is NULL, the first physical device found is used, prioritizing discrete GPUs over integrated GPUs and integrated GPUs over all the others.

This parameter can be overridden by setting environment variable VKD3D_VULKAN_DEVICE.

Definition at line 274 of file vkd3d.h.

Referenced by D3D12CreateDevice(), and vkd3d_create_vk_device().


The documentation for this struct was generated from the following file: