OGRE: Ogre::StoreAction Namespace Reference

| OGRE 2.2.4 Object-Oriented Graphics Rendering Engine

Enumerations
Ogre::StoreAction Namespace Reference
Core » Resources

## Enumerations
enum | StoreAction { DontCare, Store, MultisampleResolve, StoreAndMultisampleResolve, StoreOrResolve }

## Enumeration Type Documentation

## ◆ StoreAction

enum Ogre::StoreAction::StoreAction

Enumerator
DontCare | Discard the contents after we're done with the current pass. Useful if you only want colour and don't care what happens with the depth & stencil buffers. Discarding contents either improves framerate or battery duration (particularly important in mobile), or makes rendering friendlier for SLI/Crossfire.
Store | Keep the contents of what we've just rendered.
MultisampleResolve | Resolve MSAA rendering into resolve texture. Contents of MSAA texture are discarded. It is invalid to use this flag without an MSAA texture.
StoreAndMultisampleResolve | Resolve MSAA rendering into resolve texture. Contents of MSAA texture are kept. It is valid to use this flag without an MSAA texture.
StoreOrResolve | If texture is MSAA, has same effects as MultisampleResolve. If texture is not MSAA, has same effects as Store. There is one exception: If texture is MSAA w/ explicit resolves, but no resolve texture was set, it has same effects as Store To be used only by the Compositor. Should not be used in the actual RenderPassDescriptor directly.