Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHIViewDesc > API/Runtime/RHI/FRHIViewDesc/FTexture
Inheritance Hierarchy
- FRHIViewDesc::FTexture::FViewInfo
- FRHIViewDesc::FTextureSRV::FViewInfo
- FRHIViewDesc::FTextureUAV::FViewInfo
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include | #include "RHIResources.h" |
Syntax
struct FViewInfo
Remarks
Used by platform RHIs to create views of textures. The data in this structure is computed in GetViewInfo(), and is specific to a particular texture resource. It is not intended to be stored in a view instance.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRHIRange16 | ArrayRange | The range of array "elements" the view covers. | |
| uint8: 1 | bAllMips | True when the view covers every mip of the resource. | |
| uint8: 1 | bAllSlices | True when the view covers every array slice of the resource. | |
| EDimension: uint32(EDimension::NumBits) | Dimension | Specifies how to treat the texture resource when creating the view. | |
| EPixelFormat | Format | The typed format to use when reading / writing data in the viewed texture. | |
| ERHITexturePlane | Plane | Which plane of a texture to access (i.e. color, depth, stencil etc). |