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