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

ERHITextureSRVOverrideSRGBType

 

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& Other
)

Public function Const

bool

 

operator==

(
    const FRHITextureSRVCreateInfo& Other
)

Select Skin
Light
Dark

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