FVulkanShaderResourceView

Windows
MacOS
Linux

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

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback