Ensures that any texture reads issued after the barrier can safely read from any rendering to those textures performed before the barrier.
- macOS 10.11–10.14Deprecated
If a same texture is the rendering destination in a render pass and is also read from a shader, the results of the texture reads are undefined unless texture barriers are used.
A texture barrier enables your app to safely write to and read from the same texture, with predictable results. The barrier ensures that any texture write operations of draw calls before the barrier are completed before any texture read operations of draw calls after the barrier are started.