Nebula
Loading...
Searching...
No Matches
pass.h File Reference
#include "ids/id.h"
#include "ids/idpool.h"
#include "ids/idallocator.h"
#include "frame/framebatchtype.h"
#include "coregraphics/textureview.h"

Go to the source code of this file.

Classes

struct  CoreGraphics::PassId
 
struct  CoreGraphics::Subpass
 
struct  CoreGraphics::PassCreateInfo
 

Namespaces

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

Enumerations

enum class  CoreGraphics::AttachmentFlagBits : uint16 {
  CoreGraphics::NoFlags = 0 , CoreGraphics::Clear = N_BIT(0) , CoreGraphics::ClearStencil = N_BIT(1) , CoreGraphics::Load = N_BIT(2) ,
  CoreGraphics::LoadStencil = N_BIT(3) , CoreGraphics::Store = N_BIT(4) , CoreGraphics::StoreStencil = N_BIT(6) , CoreGraphics::Discard = N_BIT(7) ,
  CoreGraphics::DiscardStencil = N_BIT(8)
}
 
enum class  CoreGraphics::PassRecordMode : uint8 { CoreGraphics::Record , CoreGraphics::ExecuteRecorded , CoreGraphics::ExecuteInline }
 

Functions

 CoreGraphics::__ImplementEnumBitOperators (AttachmentFlagBits)
 
 CoreGraphics::__ImplementEnumComparisonOperators (AttachmentFlagBits)
 
static AttachmentFlagBits CoreGraphics::AttachmentFlagsFromString (const Util::String &string)
 
const PassId CoreGraphics::CreatePass (const PassCreateInfo &info)
 create pass
 
void CoreGraphics::DestroyPass (const PassId id)
 discard pass
 
void CoreGraphics::PassWindowResizeCallback (const PassId id)
 called when window is resized
 
void CoreGraphics::PassSetRenderTargetParameters (const PassId id, const Util::FixedArray< Shared::RenderTargetParameters > &viewports)
 Set viewports.
 
const Util::Array< CoreGraphics::TextureViewId > & CoreGraphics::PassGetAttachments (const CoreGraphics::PassId id)
 get number of color attachments for entire pass (attachment list)
 
const uint32_t CoreGraphics::PassGetNumSubpassAttachments (const CoreGraphics::PassId id, const IndexT subpass)
 get number of color attachments for a subpass
 
const CoreGraphics::ResourceTableId CoreGraphics::PassGetResourceTable (const CoreGraphics::PassId id)
 Get pass resource table.
 
const Util::StringAtom CoreGraphics::PassGetName (const CoreGraphics::PassId id)
 get name