Nebula
Loading...
Searching...
No Matches
barrier.h File Reference
#include "ids/id.h"
#include "util/array.h"
#include "coregraphics/texture.h"
#include "coregraphics/buffer.h"
#include "coregraphics/accelerationstructure.h"
#include "coregraphics/config.h"
#include <tuple>

Go to the source code of this file.

Classes

struct  CoreGraphics::BarrierId
struct  CoreGraphics::TextureSubresourceInfo
struct  CoreGraphics::BufferSubresourceInfo
struct  CoreGraphics::TextureBarrier
struct  CoreGraphics::BufferBarrier
struct  CoreGraphics::TextureBarrierInfo
struct  CoreGraphics::BufferBarrierInfo
struct  CoreGraphics::AccelerationStructureBarrierInfo
struct  CoreGraphics::BarrierScope
struct  CoreGraphics::BarrierContext
struct  CoreGraphics::BarrierCreateInfo

Namespaces

namespace  CoreGraphics
 Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.

Functions

BarrierId CoreGraphics::CreateBarrier (const BarrierCreateInfo &info)
 create barrier object
void CoreGraphics::DestroyBarrier (const BarrierId id)
 destroy barrier object
void CoreGraphics::BarrierReset (const BarrierId id)
 reset resources previously set in barrier
void CoreGraphics::BarrierPush (const CoreGraphics::CmdBufferId buf, CoreGraphics::PipelineStage fromStage, CoreGraphics::PipelineStage toStage, CoreGraphics::BarrierDomain domain, const Util::FixedArray< TextureBarrierInfo, true > &textures, const Util::FixedArray< BufferBarrierInfo, true > &buffers)
 Push barrier to stack.
void CoreGraphics::BarrierPush (const CoreGraphics::CmdBufferId buf, CoreGraphics::PipelineStage fromStage, CoreGraphics::PipelineStage toStage, CoreGraphics::BarrierDomain domain, const Util::FixedArray< TextureBarrierInfo, true > &textures)
 Push barrier to stack.
void CoreGraphics::BarrierPush (const CoreGraphics::CmdBufferId buf, CoreGraphics::PipelineStage fromStage, CoreGraphics::PipelineStage toStage, CoreGraphics::BarrierDomain domain, const Util::FixedArray< BufferBarrierInfo, true > &buffers)
 Push barrier to stack.
void CoreGraphics::BarrierPop (const CoreGraphics::CmdBufferId buf)
 pop barrier, reverses the from-to stages and any access flags in the buffers and texture barriers
void CoreGraphics::BarrierRepeat (const CoreGraphics::CmdBufferId buf)
 repeat barrier in queue
CoreGraphics::ImageBits CoreGraphics::ImageBitsFromString (const Util::String &str)
CoreGraphics::ImageLayout CoreGraphics::ImageLayoutFromString (const Util::String &str)