Navigation
API > API/Runtime > API/Runtime/RHI
Used to specify a texture metadata plane when creating a view.
| Name | ERHITexturePlane |
| Type | enum |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
Syntax
enum ERHITexturePlane
{
Primary = 0,
PrimaryCompressed = 1,
Depth = 2,
Stencil = 3,
HTile = 4,
FMask = 5,
CMask = 6,
Num,
NumBits = 3,
None = Primary,
CompressedSurface = PrimaryCompressed,
}
Values
| Name | Remarks |
|---|---|
| Primary | The primary plane is used with default compression behavior. |
| PrimaryCompressed | The primary plane is used without decompressing it. |
| Depth | The depth plane is used with default compression behavior. |
| Stencil | The stencil plane is used with default compression behavior. |
| HTile | The HTile plane is used. |
| FMask | The FMask plane is used. |
| CMask | The CMask plane is used. |
| Num | This enum is packed into various structures. |
| NumBits | |
| None | |
| CompressedSurface |