Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QRhiVulkan::DeferredReleaseEntry Struct Reference

#include <qrhivulkan_p.h>

Collaboration diagram for QRhiVulkan::DeferredReleaseEntry:

Public Types

enum  Type {
  Pipeline , ShaderResourceBindings , Buffer , RenderBuffer ,
  Texture , Sampler , TextureRenderTarget , RenderPass ,
  StagingBuffer , SecondaryCommandBuffer
}

Public Attributes

Type type
int lastActiveFrameSlot
union { 
   struct { 
      VkPipeline   pipeline 
      VkPipelineLayout   layout 
   }   pipelineState
   struct { 
      int   poolIndex 
      VkDescriptorSetLayout   layout 
   }   shaderResourceBindings
   struct { 
      VkBuffer   buffers [QVK_FRAMES_IN_FLIGHT
      QVkAlloc   allocations [QVK_FRAMES_IN_FLIGHT
      VkBuffer   stagingBuffers [QVK_FRAMES_IN_FLIGHT
      QVkAlloc   stagingAllocations [QVK_FRAMES_IN_FLIGHT
   }   buffer
   struct { 
      VkDeviceMemory   memory 
      VkImage   image 
      VkImageView   imageView 
   }   renderBuffer
   struct { 
      VkImage   image 
      VkImageView   imageView 
      QVkAlloc   allocation 
      VkBuffer   stagingBuffers [QVK_FRAMES_IN_FLIGHT
      QVkAlloc   stagingAllocations [QVK_FRAMES_IN_FLIGHT
      VkImageView   extraImageViews [QRhi::MAX_MIP_LEVELS
   }   texture
   struct { 
      VkSampler   sampler 
   }   sampler
   struct { 
      VkFramebuffer   fb 
      VkImageView   rtv [QVkRenderTargetData::MAX_COLOR_ATTACHMENTS
      VkImageView   resrtv [QVkRenderTargetData::MAX_COLOR_ATTACHMENTS
      VkImageView   dsv 
      VkImageView   resdsv 
      VkImageView   shadingRateMapView 
   }   textureRenderTarget
   struct { 
      VkRenderPass   rp 
   }   renderPass
   struct { 
      VkBuffer   stagingBuffer 
      QVkAlloc   stagingAllocation 
   }   stagingBuffer
   struct { 
      VkCommandBuffer   cb 
   }   secondaryCommandBuffer
}; 

Detailed Description

Definition at line 1016 of file qrhivulkan_p.h.

Member Enumeration Documentation

◆ Type

Enumerator
Pipeline 
ShaderResourceBindings 
Buffer 
RenderBuffer 
Texture 
Sampler 
TextureRenderTarget 
RenderPass 
StagingBuffer 
SecondaryCommandBuffer 

Definition at line 1017 of file qrhivulkan_p.h.

Member Data Documentation

◆ [union]

◆ allocation

QVkAlloc QRhiVulkan::DeferredReleaseEntry::allocation

Definition at line 1054 of file qrhivulkan_p.h.

◆ allocations

QVkAlloc QRhiVulkan::DeferredReleaseEntry::allocations[QVK_FRAMES_IN_FLIGHT]

Definition at line 1042 of file qrhivulkan_p.h.

◆ [struct]

◆ buffers

VkBuffer QRhiVulkan::DeferredReleaseEntry::buffers[QVK_FRAMES_IN_FLIGHT]

Definition at line 1041 of file qrhivulkan_p.h.

◆ cb

VkCommandBuffer QRhiVulkan::DeferredReleaseEntry::cb

Definition at line 1078 of file qrhivulkan_p.h.

◆ dsv

VkImageView QRhiVulkan::DeferredReleaseEntry::dsv

Definition at line 1066 of file qrhivulkan_p.h.

◆ extraImageViews

VkImageView QRhiVulkan::DeferredReleaseEntry::extraImageViews[QRhi::MAX_MIP_LEVELS]

Definition at line 1057 of file qrhivulkan_p.h.

◆ fb

VkFramebuffer QRhiVulkan::DeferredReleaseEntry::fb

Definition at line 1063 of file qrhivulkan_p.h.

◆ image

VkImage QRhiVulkan::DeferredReleaseEntry::image

Definition at line 1048 of file qrhivulkan_p.h.

◆ imageView

VkImageView QRhiVulkan::DeferredReleaseEntry::imageView

Definition at line 1049 of file qrhivulkan_p.h.

◆ lastActiveFrameSlot

◆ layout [1/2]

VkPipelineLayout QRhiVulkan::DeferredReleaseEntry::layout

Definition at line 1034 of file qrhivulkan_p.h.

◆ layout [2/2]

VkDescriptorSetLayout QRhiVulkan::DeferredReleaseEntry::layout

Definition at line 1038 of file qrhivulkan_p.h.

◆ memory

VkDeviceMemory QRhiVulkan::DeferredReleaseEntry::memory

Definition at line 1047 of file qrhivulkan_p.h.

◆ pipeline

VkPipeline QRhiVulkan::DeferredReleaseEntry::pipeline

Definition at line 1033 of file qrhivulkan_p.h.

◆ [struct]

struct { ... } QRhiVulkan::DeferredReleaseEntry::pipelineState

◆ poolIndex

int QRhiVulkan::DeferredReleaseEntry::poolIndex

Definition at line 1037 of file qrhivulkan_p.h.

◆ [struct]

struct { ... } QRhiVulkan::DeferredReleaseEntry::renderBuffer

◆ [struct]

struct { ... } QRhiVulkan::DeferredReleaseEntry::renderPass

◆ resdsv

VkImageView QRhiVulkan::DeferredReleaseEntry::resdsv

Definition at line 1067 of file qrhivulkan_p.h.

◆ resrtv

VkImageView QRhiVulkan::DeferredReleaseEntry::resrtv[QVkRenderTargetData::MAX_COLOR_ATTACHMENTS]

Definition at line 1065 of file qrhivulkan_p.h.

◆ rp

VkRenderPass QRhiVulkan::DeferredReleaseEntry::rp

Definition at line 1071 of file qrhivulkan_p.h.

◆ rtv

VkImageView QRhiVulkan::DeferredReleaseEntry::rtv[QVkRenderTargetData::MAX_COLOR_ATTACHMENTS]

Definition at line 1064 of file qrhivulkan_p.h.

◆ sampler [1/2]

VkSampler QRhiVulkan::DeferredReleaseEntry::sampler

Definition at line 1060 of file qrhivulkan_p.h.

◆ [struct] [2/2]

struct { ... } QRhiVulkan::DeferredReleaseEntry::sampler

◆ [struct]

struct { ... } QRhiVulkan::DeferredReleaseEntry::secondaryCommandBuffer

◆ [struct]

struct { ... } QRhiVulkan::DeferredReleaseEntry::shaderResourceBindings

◆ shadingRateMapView

VkImageView QRhiVulkan::DeferredReleaseEntry::shadingRateMapView

Definition at line 1068 of file qrhivulkan_p.h.

◆ stagingAllocation

QVkAlloc QRhiVulkan::DeferredReleaseEntry::stagingAllocation

Definition at line 1075 of file qrhivulkan_p.h.

◆ stagingAllocations

QVkAlloc QRhiVulkan::DeferredReleaseEntry::stagingAllocations[QVK_FRAMES_IN_FLIGHT]

Definition at line 1044 of file qrhivulkan_p.h.

◆ stagingBuffer [1/2]

VkBuffer QRhiVulkan::DeferredReleaseEntry::stagingBuffer

Definition at line 1074 of file qrhivulkan_p.h.

◆ [struct] [2/2]

struct { ... } QRhiVulkan::DeferredReleaseEntry::stagingBuffer

◆ stagingBuffers

VkBuffer QRhiVulkan::DeferredReleaseEntry::stagingBuffers[QVK_FRAMES_IN_FLIGHT]

Definition at line 1043 of file qrhivulkan_p.h.

◆ [struct]

struct { ... } QRhiVulkan::DeferredReleaseEntry::texture

◆ [struct]

struct { ... } QRhiVulkan::DeferredReleaseEntry::textureRenderTarget

◆ type


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