Navigation
API > API/Runtime > API/Runtime/VulkanRHI
References
| Module | VulkanRHI |
| Header | /Engine/Source/Runtime/VulkanRHI/Public/VulkanShaderResources.h |
| Include | #include "VulkanShaderResources.h" |
Syntax
struct FVulkanShaderHeader
Remarks
Vulkan ParameterMap: Buffer Index = EBufferIndex Base Offset = Index into the subtype Size = Ignored for non-globals
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FBindingInfo > | Bindings | ||
| FString | DebugName | ||
| uint32 | InOutMask | Mostly relevant for Vertex Shaders. | |
| TArray< FInputAttachmentInfo > | InputAttachmentInfos | ||
| uint32 | InputAttachmentsMask | Mask of input attachments being used (the index of the bit corresponds to EAttachmentType value) | |
| uint32 | NumBoundUniformBuffers | The number of uniform buffers containing constants and requiring bindings Uniform buffers beyond this index do not have bindings (resource only UB) | |
| uint32 | PackedGlobalsSize | Size of the uniform buffer containing packed globals If present (not zero), it will always be at binding 0 of the stage | |
| ERayHitGroupEntrypoint | RayGroupAnyHit | ||
| ERayHitGroupEntrypoint | RayGroupIntersection | ||
| uint32 | RayTracingPayloadSize | ||
| uint32 | RayTracingPayloadType | Relevant for Ray Tracing Shaders. | |
| FSHAHash | SourceHash | ||
| uint32 | SpirvCRC | ||
| TArray< FUniformBufferInfo > | UniformBufferInfos | ||
| uint8 | WaveSize |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Classes
| Type | Name | Description | |
|---|---|---|---|
| FBindingInfo | Includes all bindings, the index in this array is the binding slot. | ||
| 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
| Type | Name | Description | |
|---|---|---|---|
| EAttachmentType | The order of this enum should always match the strings in VulkanBackend.cpp (VULKAN_SUBPASS_FETCH) | ||
| EInit | |||
| ERayHitGroupEntrypoint | For RayHitGroup shaders. |