FRHITextureSRVCreateInfo

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FRHITextureSRVCreateInfo

FRDGTextureSRVDesc

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHIResources.h

Include

#include "RHIResources.h"

Syntax

struct FRHITextureSRVCreateInfo

Variables

Name Description

Public variable

uint32

 

FirstArraySlice

Specify first array slice index. By default 0.

Public variable

EPixelFormat

 

Format

View the texture with a different format.

Public variable

ERHITextureMeta...

 

MetaData

Specify the metadata plane to use when creating a view.

Public variable

uint8

 

MipLevel

Specify the mip level to use. Useful when rendering to one mip while sampling from another

Public variable

uint32

 

NumArraySlices

Specify number of array slices.

Public variable

uint8

 

NumMipLevels

Create a view to a single, or multiple mip levels

Public variable

ERHITextureSRVO...

 

SRGBOverride

Potentially override the texture's sRGB flag

Constructors

Name Description

Public function

FRHITextureSRVCreateInfo

(
    uint8 InMipLevel,
    uint8 InNumMipLevels,
    EPixelFormat InFormat
)

Public function

FRHITextureSRVCreateInfo

(
    uint8 InMipLevel,
    uint8 InNumMipLevels,
    uint32 InFirstArraySlice,
    uint32 InNumArraySlices,
    EPixelFormat InFormat
)

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FRHITextureSRVCreateInfo& Ot...
)

Public function Const

bool

 

operator==

(
    const FRHITextureSRVCreateInfo& Ot...
)