XII Release 0.1.0
Loading...
Searching...
No Matches
xiiRenderPipeline Class Reference
Inheritance diagram for xiiRenderPipeline:
[legend]

Public Types

enum class  PipelineState { Uninitialized , RebuildError , Initialized }
 
using RenderDataProcessor = xiiDelegate<void(xiiExtractedRenderData&)>
 

Public Member Functions

void AddPass (xiiUniquePtr< xiiRenderPipelinePassBase > &&pPass)
 
void RemovePass (xiiRenderPipelinePassBase *pPass)
 
void GetPasses (xiiDynamicArray< const xiiRenderPipelinePassBase * > &ref_passes) const
 
void GetPasses (xiiDynamicArray< xiiRenderPipelinePassBase * > &ref_passes)
 
xiiRenderPipelinePassBaseGetPassByName (const xiiStringView &sPassName)
 
bool Connect (xiiRenderPipelinePassBase *pOutputNode, xiiStringView sOutputPinName, xiiRenderPipelinePassBase *pInputNode, xiiStringView sInputPinName)
 
bool Connect (xiiRenderPipelinePassBase *pOutputNode, xiiHashedString sOutputPinName, xiiRenderPipelinePassBase *pInputNode, xiiHashedString sInputPinName)
 
bool Disconnect (xiiRenderPipelinePassBase *pOutputNode, xiiHashedString sOutputPinName, xiiRenderPipelinePassBase *pInputNode, xiiHashedString sInputPinName)
 
const xiiRenderPipelinePassConnectionGetInputConnection (const xiiRenderPipelinePassBase *pPass, xiiHashedString sInputPinName) const
 
const xiiRenderPipelinePassConnectionGetOutputConnection (const xiiRenderPipelinePassBase *pPass, xiiHashedString sOutputPinName) const
 
void AddExtractor (xiiUniquePtr< xiiExtractor > &&pExtractor)
 
void RemoveExtractor (xiiExtractor *pExtractor)
 
void GetExtractors (xiiDynamicArray< const xiiExtractor * > &ref_extractors) const
 
void GetExtractors (xiiDynamicArray< xiiExtractor * > &ref_extractors)
 
xiiExtractorGetExtractorByName (const xiiStringView &sExtractorName)
 
const xiiExtractedRenderDataGetRenderData () const
 
xiiRenderDataBatchList GetRenderDataBatchesWithCategory (xiiRenderData::Category category) const
 
xiiUInt32 AddRenderDataProcessor (RenderDataProcessor processor)
 
void CreateDgmlGraph (xiiDGMLGraph &ref_graph)
 Creates a DGML graph of all passes and resources. Can be used to verify that no accidental temporary resources are created due to poorly constructed pipelines or errors in code.
 
XII_ALWAYS_INLINE xiiHashedString GetViewName () const
 
template<typename T>
XII_ALWAYS_INLINE T * GetFrameDataProvider () const
 
- Public Member Functions inherited from xiiRefCounted
virtual ~xiiRefCounted ()=default
 Adds a virtual destructor.
 
- Public Member Functions inherited from xiiRefCountingImpl
 xiiRefCountingImpl ()=default
 Constructor.
 
 xiiRefCountingImpl (const xiiRefCountingImpl &rhs)
 
void operator= (const xiiRefCountingImpl &rhs)
 
xiiUInt32 AddRef () const
 Increments the reference counter. Returns the new reference count.
 
xiiUInt32 ReleaseRef () const
 Decrements the reference counter. Returns the new reference count.
 
bool IsReferenced () const
 Returns true if the reference count is greater than 0, false otherwise.
 
xiiUInt32 GetRefCount () const
 Returns the current reference count.
 

Friends

class xiiRenderWorld
 
class xiiView
 

The documentation for this class was generated from the following files: