Luna::RHI::TextureBarrier::subresource

SubresourceIndex subresource

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.