FVulkanShader

Inheritance Hierarchy

Syntax

class FVulkanShader : public IRefCountedObject

Variables

Name Description

Protected variable

FVulkanShaderHe ...

 

CodeHeader

External bindings for this shader.

Protected variable

FString

 

DebugEntryPoint

Protected variable

FVulkanDevice &...

 

Device

Protected variable

EShaderFrequenc ...

 

Frequency

Protected variable

uint64

 

ShaderKey

Protected variable

TMap < uint32 , V...

 

ShaderModules

Protected variable

TArray < uint32 ...

 

Spirv

Protected variable

const VkShaderS...

 

StageFlag

Constructors

Name Description

Public function

FVulkanShader

(
    FVulkanDevice* InDevice,
    EShaderFrequency InFrequency,
    VkShaderStageFlagBits InStageFlag
)

Destructors

Name Description

Public function Virtual

~FVulkanShader()

Functions

Name Description

Protected function

VkShaderModu...

 

CreateHandle

(
    const FVulkanLayout* Layout,
    uint32 LayoutHash
)

Public function Const

const FVulka ...

 

GetCodeHeader()

Public function Const

const FStrin ...

 

GetDebugName()

Public function

void

 

GetEntryPoint

(
    ANSICHAR * Name
)

Name should be pointing to "main_".

Public function

VkShaderModu...

 

GetOrCreateHandle

(
    const FVulkanLayout* Layout,
    uint32 LayoutHash
)

Public function Const

uint64

 

GetShaderKey()

Public function

void

 

PurgeShaderModules()

Public function

void

 

Setup

(
    const TArray < uint8 >& InShaderHea...,
    uint64 InShaderKey
)

References

Module

VulkanRHI

Header

Runtime/VulkanRHI/Public/VulkanResources.h