OGRE: Ogre::ReadBarrier Namespace Reference

| OGRE 2.2.4 Object-Oriented Graphics Rendering Engine

Enumerations
Ogre::ReadBarrier Namespace Reference
Core » Resources

## Enumerations
enum | ReadBarrier { CpuRead = 0x00000001, Indirect = 0x00000002, VertexBuffer = 0x00000004, IndexBuffer = 0x00000008, ConstBuffer = 0x00000010, Texture = 0x00000020, Uav = 0x00000040, RenderTarget = 0x00000080, DepthStencil = 0x00000100, All = 0xffffffff }

## Enumeration Type Documentation

## ◆ ReadBarrier

enum Ogre::ReadBarrier::ReadBarrier

Enumerator
CpuRead | Finishes writing to & flushes all caches to VRAM so CPU can read it.
Indirect | After the barrier, data can be used as an indirect buffer.
VertexBuffer | After the barrier, data can be used as a vertex buffer.
IndexBuffer | After the barrier, data can be used as an index buffer.
ConstBuffer | After the barrier, data can be used as a const buffer.
Texture | After the barrier, data can be used as a texture or as a tex. buffer.
Uav | After the barrier, data can be used as an UAV.
RenderTarget | After the barrier, data can be used as a RenderTarget.
DepthStencil | After the barrier, data can be used as a Depth/Stencil buffer.
All |