Language:
Discover
By Skill Level
By Category

FVulkanShader

Choose your OS:

Inheritance Hierarchy

Syntax

class FVulkanShader : public IRefCountedObject

Variables

Name Description

Protected variable

FVulkanShaderHe ...

 

CodeHeader

External bindings for this shader.

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 FVulka ...

 

GetCodeHeader()

Public function

const FStrin ...

 

GetDebugName()

Public function

VkShaderModu...

 

GetOrCreateHandle

(
    const FVulkanLayout* Layout,
    uint32 LayoutHash
)

Public function

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