Navigation
API > API/Runtime > API/Runtime/RHI
References
| |
|
| Module |
RHI |
| Header |
/Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include |
#include "RHIResources.h" |
Syntax
enum ERenderTargetActions
{
LoadOpMask = 2,
RTACTION_MAKE_MASK,
DontLoad_DontStore = (((uint8)ERenderTargetLoadAction::ENoAction << (uint8)LoadOpMask) | (uint8)ERenderTargetStoreAction::ENoAction),
DontLoad_Store = (((uint8)ERenderTargetLoadAction::ENoAction << (uint8)LoadOpMask) | (uint8)ERenderTargetStoreAction::EStore),
Clear_Store = (((uint8)ERenderTargetLoadAction::EClear << (uint8)LoadOpMask) | (uint8)ERenderTargetStoreAction::EStore),
Load_Store = (((uint8)ERenderTargetLoadAction::ELoad << (uint8)LoadOpMask) | (uint8)ERenderTargetStoreAction::EStore),
Clear_DontStore = (((uint8)ERenderTargetLoadAction::EClear << (uint8)LoadOpMask) | (uint8)ERenderTargetStoreAction::ENoAction),
Load_DontStore = (((uint8)ERenderTargetLoadAction::ELoad << (uint8)LoadOpMask) | (uint8)ERenderTargetStoreAction::ENoAction),
Clear_Resolve = (((uint8)ERenderTargetLoadAction::EClear << (uint8)LoadOpMask) | (uint8)ERenderTargetStoreAction::EMultisampleResolve),
Load_Resolve = (((uint8)ERenderTargetLoadAction::ELoad << (uint8)LoadOpMask) | (uint8)ERenderTargetStoreAction::EMultisampleResolve),
}
Values
| Name |
Description |
| LoadOpMask |
|
| RTACTION_MAKE_MASK |
|
| DontLoad_DontStore |
|
| DontLoad_Store |
|
| Clear_Store |
|
| Load_Store |
|
| Clear_DontStore |
|
| Load_DontStore |
|
| Clear_Resolve |
|
| Load_Resolve |
|