Nebula
|
#include <barrier.h>
Public Member Functions | |
~BarrierScope () | |
Make sure we have cleared the barrier scope before destroying the object. | |
void | Init (const char *name, CmdBufferId cmdBuf) |
Initiate. | |
void | AddTexture (ImageBits bits, TextureId tex, CoreGraphics::PipelineStage fromStage, CoreGraphics::PipelineStage toStage) |
Add texture barrier. | |
void | AddBuffer (BufferId buf, CoreGraphics::PipelineStage fromStage, CoreGraphics::PipelineStage toStage) |
Add buffer barrier. | |
void | Flush () |
Flush all pending changes. | |
Public Attributes | |
const char * | name |
CmdBufferId | cmdBuf |
CoreGraphics::PipelineStage | fromStage |
CoreGraphics::PipelineStage | toStage |
Util::Array< TextureBarrierInfo > | textures |
Util::Array< BufferBarrierInfo > | buffers |
|
inline |
Make sure we have cleared the barrier scope before destroying the object.
|
inline |
Add buffer barrier.
|
inline |
Add texture barrier.
|
inline |
Flush all pending changes.
|
inline |
Initiate.
Util::Array<BufferBarrierInfo> CoreGraphics::BarrierScope::buffers |
CmdBufferId CoreGraphics::BarrierScope::cmdBuf |
CoreGraphics::PipelineStage CoreGraphics::BarrierScope::fromStage |
const char* CoreGraphics::BarrierScope::name |
Util::Array<TextureBarrierInfo> CoreGraphics::BarrierScope::textures |
CoreGraphics::PipelineStage CoreGraphics::BarrierScope::toStage |