Luna::RHI::TextureBarrier
Describes one texture barrier.
struct Luna::RHI::TextureBarrier
Member objects
-
The resource the barrier is applied to.
-
The subresource in the resource the barrier is applied to. Specify TEXTURE_BARRIER_ALL_SUBRESOURCES will apply the barrier to all subresources of the resource.
-
The states of the subresource(s) before this barrier takes place. Specify TextureStateFlag::automatic to let the system decide the before state, see docs of TextureStateFlag::automatic for details.
-
The states of the subresource(s) after this barrier takes place.
-
Additional flags for this barrier.