|
ReactOS 0.4.17-dev-934-g091855f
|
#include <vkd3d.h>

Public Attributes | |
| enum vkd3d_structure_type | type |
| const void * | next |
| VkImage | vk_image |
| D3D12_RESOURCE_DESC | desc |
| unsigned int | flags |
| D3D12_RESOURCE_STATES | present_state |
A chained structure containing the parameters to create a D3D12 resource backed by a Vulkan image.
| D3D12_RESOURCE_DESC vkd3d_image_resource_create_info::desc |
The resource description.
Definition at line 346 of file vkd3d.h.
Referenced by d3d12_swapchain_create_image_resources(), and vkd3d_create_image_resource().
A combination of zero or more flags. The valid flags are VKD3D_RESOURCE_INITIAL_STATE_TRANSITION and VKD3D_RESOURCE_PRESENT_STATE_TRANSITION.
Definition at line 351 of file vkd3d.h.
Referenced by d3d12_swapchain_create_image_resources(), and vkd3d_create_image_resource().
Optional pointer to a structure containing further parameters.
Definition at line 341 of file vkd3d.h.
Referenced by d3d12_swapchain_create_image_resources(), and vkd3d_create_image_resource().
| D3D12_RESOURCE_STATES vkd3d_image_resource_create_info::present_state |
This field specifies how to handle resource state D3D12_RESOURCE_STATE_PRESENT for the resource. Notice that on D3D12 there is no difference between D3D12_RESOURCE_STATE_COMMON and D3D12_RESOURCE_STATE_PRESENT (they have the same value), while on Vulkan two different layouts are used (VK_IMAGE_LAYOUT_GENERAL and VK_IMAGE_LAYOUT_PRESENT_SRC_KHR).
Definition at line 371 of file vkd3d.h.
Referenced by d3d12_swapchain_create_image_resources(), and vkd3d_create_image_resource().
| enum vkd3d_structure_type vkd3d_image_resource_create_info::type |
Must be set to VKD3D_STRUCTURE_TYPE_IMAGE_RESOURCE_CREATE_INFO.
Definition at line 339 of file vkd3d.h.
Referenced by d3d12_swapchain_create_image_resources(), and vkd3d_create_image_resource().
| VkImage vkd3d_image_resource_create_info::vk_image |
The Vulkan image that backs the resource.
Definition at line 344 of file vkd3d.h.
Referenced by d3d12_swapchain_create_image_resources(), and vkd3d_create_image_resource().