Language:
Discover
By Skill Level
By Category

FVulkanShaderResourceView

Choose your OS:

Inheritance Hierarchy

FRHIShaderResourceView

FDeviceChild

FVulkanShaderResourceView

Syntax

class FVulkanShaderResourceView :
    public FRHIShaderResourceView ,
    public VulkanRHI::FDeviceChild

Variables

Name Description

Public variable

uint32

 

BufferIndex

Public variable

EPixelFormat

 

BufferViewFormat

Public variable

TArray < TRefCou ...

 

BufferViews

Public variable

uint32

 

MipLevel

Public variable

uint32

 

NumMips

Public variable

uint32

 

Size

Public variable

FVulkanResource ...

 

SourceBuffer

The buffer this SRV comes from (can be null)

Public variable

TRefCountPtr < F ...

 

SourceRHIBuffer

To keep a reference.

Public variable

FVulkanStructur ...

 

SourceStructuredBuffer

Public variable

TRefCountPtr < F ...

 

SourceTexture

The texture that this SRV come from.

Public variable

FVulkanTextureV ...

 

TextureView

Protected variable

uint32

 

VolatileLockCounter

Used to check on volatile buffers if a new BufferView is required.

Constructors

Name Description

Public function

FVulkanShaderResourceView

(
    FVulkanDevice* Device,
    FVulkanStructuredBuffer * InStr...
)

Public function

FVulkanShaderResourceView

(
    FVulkanDevice* Device,
    FRHIResource * InRHIBuffer,
    FVulkanResourceMultiBuffer * In...,
    uint32 InSize,
    EPixelFormat InFormat
)

Public function

FVulkanShaderResourceView

(
    FVulkanDevice* Device,
    FRHITexture * InSourceTexture,
    uint32 InMipLevel,
    int32 InNumMips,
    EPixelFormat InFormat
)

Destructors

Name Description

Public function

~FVulkanShaderResourceView()

Functions

Name Description

Public function

FVulkanBuffe ...

 

GetBufferView()

Public function

void

 

UpdateView()

References

Module

VulkanRHI

Header

Runtime/VulkanRHI/Public/VulkanResources.h