Navigation
API > API/Runtime > API/Runtime/RHI
| Name | FRHITextureSRVCreateInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
Syntax
struct FRHITextureSRVCreateInfo
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRHITextureSRVCreateInfo
(
uint8 InMipLevel, |
RHIResources.h | ||
FRHITextureSRVCreateInfo
(
uint8 InMipLevel, |
RHIResources.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DimensionOverride | TOptional< ETextureDimension > | Specify a dimension to use which overrides the default | RHIResources.h | |
| FirstArraySlice | uint16 | Specify first array slice index. By default 0. | RHIResources.h | |
| Format | EPixelFormat | View the texture with a different format. | RHIResources.h | |
| MetaData | ERHITextureMetaDataAccess | Specify the metadata plane to use when creating a view. | RHIResources.h | |
| MipLevel | uint8 | Specify the mip level to use. Useful when rendering to one mip while sampling from another | RHIResources.h | |
| NumArraySlices | uint16 | Specify number of array slices. | RHIResources.h | |
| NumMipLevels | uint8 | Create a view to a single, or multiple mip levels | RHIResources.h | |
| SRGBOverride | ERHITextureSRVOverrideSRGBType | Potentially override the texture's sRGB flag | RHIResources.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool CheckValidity
(
const FRHITextureDesc& TextureDesc, |
Check the validity. | RHIResources.h | |
static bool Validate
(
const FRHITextureDesc& TextureDesc, |
RHIResources.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FRHITextureSRVCreateInfo& Other |
RHIResources.h | ||
bool operator==
(
const FRHITextureSRVCreateInfo& Other |
RHIResources.h |