Navigation
API > API/Runtime > API/Runtime/VulkanRHI
Vulkan ParameterMap: Buffer Index = EBufferIndex Base Offset = Index into the subtype Size = Ignored for non-globals
| Name | FVulkanShaderHeader |
| Type | struct |
| Header File | /Engine/Source/Runtime/VulkanRHI/Public/VulkanShaderResources.h |
| Include Path | #include "VulkanShaderResources.h" |
Syntax
struct FVulkanShaderHeader
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| VulkanShaderResources.h | |||
| VulkanShaderResources.h |
Structs
| Name | Remarks |
|---|---|
| FBindingInfo | Includes all bindings, the index in this array is the binding slot. |
| FGlobalSamplerInfo | |
| FInputAttachmentInfo | Used to determine the EAttachmentType of a FBindingInfo with type VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT. |
| FUniformBufferInfo | FBindingInfo with type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER have a corresponding entry in this table (at the same index) |
Enums
Public
| Name | Remarks |
|---|---|
| EAttachmentType | The order of this enum should always match the strings in VulkanBackend.cpp (VULKAN_SUBPASS_FETCH) |
| EGlobalSamplerType | Types of Global Samplers (see Common.ush for types) Must match GetGlobalSamplerType() in SpirVShaderCompiler.inl and and declarations in VulkanCommon.ush |
| EInit | |
| ERayHitGroupEntrypoint | For RayHitGroup shaders. |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Bindings | TArray< FBindingInfo > | VulkanShaderResources.h | ||
| DebugName | FString | VulkanShaderResources.h | ||
| GlobalSamplerInfos | TArray< FGlobalSamplerInfo > | VulkanShaderResources.h | ||
| InOutMask | uint32 | Mostly relevant for Vertex Shaders. | VulkanShaderResources.h | |
| InputAttachmentInfos | TArray< FInputAttachmentInfo > | VulkanShaderResources.h | ||
| InputAttachmentsMask | uint32 | Mask of input attachments being used (the index of the bit corresponds to EAttachmentType value) | VulkanShaderResources.h | |
| NumBoundUniformBuffers | uint32 | The number of uniform buffers containing constants and requiring bindings Uniform buffers beyond this index do not have bindings (resource only UB) | VulkanShaderResources.h | |
| PackedGlobalsSize | uint32 | Size of the uniform buffer containing packed globals If present (not zero), it will always be at binding 0 of the stage | VulkanShaderResources.h | |
| RayGroupAnyHit | ERayHitGroupEntrypoint | VulkanShaderResources.h | ||
| RayGroupIntersection | ERayHitGroupEntrypoint | VulkanShaderResources.h | ||
| RayTracingPayloadSize | uint32 | VulkanShaderResources.h | ||
| RayTracingPayloadType | uint32 | Relevant for Ray Tracing Shaders. | VulkanShaderResources.h | |
| SourceHash | FSHAHash | VulkanShaderResources.h | ||
| SpirvCRC | uint32 | VulkanShaderResources.h | ||
| UniformBufferInfos | TArray< FUniformBufferInfo > | VulkanShaderResources.h | ||
| WaveSize | uint8 | VulkanShaderResources.h |