Language:
Discover
By Skill Level
By Category

EResourceTransitionAccess

Choose your OS:

Syntax

enum EResourceTransitionAccess
{
    EReadable,
    EWritable,
    ERWBarrier,
    ERWNoBarrier,
    ERWSubResBarrier,
    EMetaData,
    EMaxAccess,
}

Values

Name

Description

EReadable

EWritable

Transition from write-> read

ERWBarrier

Transition from read -> write

ERWNoBarrier

Mostly for UAVs. Transition to read/write state and always insert a resource barrier.

ERWSubResBarrier

Mostly UAVs. Indicates we want R/W access and do not require synchronization for the duration of the RW state. The initial transition from writable->RWNoBarrier and readable->RWNoBarrier still requires a sync.

EMetaData

For special cases where read/write happens to different subresources of the same resource in the same call. Inserts a barrier, but read validation will pass. Temporary until we pass full subresource info to all transition calls.

EMaxAccess

For transitioning texture meta data, for example for making readable in shaders.

References

Module

RHI

Header

Runtime/RHI/Public/RHI.h