CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::RenderGraphInput< T > Class Template Reference

A special type of render resource ref that is used to reference inputs of a render task. More...

#include <CeresEngine/Renderer/RenderGraph/RenderResourceRef.hpp>

Inheritance diagram for CeresEngine::RenderGraphInput< T >:
CeresEngine::TRenderResourceRef< T >

Public Member Functions

RenderGraphInputoperator= (const RenderGraphOutput< T > &output)
 
bool isInput () const final
 
bool isOutput () const final
 
- Public Member Functions inherited from CeresEngine::TRenderResourceRef< T >
Tget () const
 
bool valid () const
 
 operator bool () const
 
Toperator* () const
 
Toperator-> () const
 
 operator T& () const
 
 operator T* () const
 

Private Attributes

RenderGraphOutput< T > * mConnectedOutput = nullptr
 If an this input is connected to an output, defines which output.
 

Detailed Description

template<typename T>
class CeresEngine::RenderGraphInput< T >

A special type of render resource ref that is used to reference inputs of a render task.

Template Parameters
TThe render resource type bound to the input.

Member Function Documentation

◆ isInput()

template<typename T >
bool CeresEngine::RenderGraphInput< T >::isInput ( ) const
inlinefinal

◆ isOutput()

template<typename T >
bool CeresEngine::RenderGraphInput< T >::isOutput ( ) const
inlinefinal

◆ operator=()

Member Data Documentation

◆ mConnectedOutput

template<typename T >
RenderGraphOutput<T>* CeresEngine::RenderGraphInput< T >::mConnectedOutput = nullptr
private

If an this input is connected to an output, defines which output.


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