FRHITextureSRVCreateInfo

Windows
MacOS
Linux

Inheritance Hierarchy

FRHITextureSRVCreateInfo

FRDGTextureSRVDesc

References

Module

RHI

Header

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

Include

#include "RHI.h"

Syntax

struct FRHITextureSRVCreateInfo

Variables

Name Description

Public variable

uint32

 

FirstArraySlice

Specify first array slice index. By default 0.

Public variable

uint8

 

Format

View the texture with a different format.

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,
    uint8 InFormat
)

Public function

FRHITextureSRVCreateInfo

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

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FRHITextureSRVCreateInfo& Ot...
)

Public function Const

bool

 

operator==

(
    const FRHITextureSRVCreateInfo& Ot...
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss