|
Foundation
|
Functional wrapper for a render pass. More...
#include <RenderPass.hpp>
Public Member Functions | |
| LambdaPass (FSetup &&setup, FRecord &&record, FSkip &&skip={}) | |
| void | Setup (PassHandle self, Renderer *r) override |
| Perform any setup required for this pass. This may include creating resources, declaring resource accesses, etc. | |
| void | Record (PassHandle self, Renderer *r, RHICommandList *cmd) override |
| Record the commands of this pass into the given command list. | |
| bool | IsSkipped (PassHandle self, Renderer *r) const override |
| Determine whether this pass should be skipped during Record time. | |
Public Member Functions inherited from Foundation::RenderCore::RenderPass | |
| RenderPass ()=default | |
| Constructor. You may also create resources here for early setup. However, access declaration must be done in Setup(). | |
Public Member Functions inherited from Foundation::RHI::RHIObject | |
| RHIObject ()=default | |
| RHIObject (RHIObject const &)=delete | |
| RHIObject & | operator= (const RHIObject &)=delete |
| RHIObject (RHIObject &&)=delete | |
| RHIObject & | operator= (RHIObject &&)=delete |
| virtual | ~RHIObject ()=default |
Public Attributes | |
| FSetup | mSetup |
| FRecord | mRecord |
| FSkip | mSkip |
Functional wrapper for a render pass.
This is a convenience wrapper for stateless passes, and should be created via Renderer::CreatePass()
|
inline |
|
inlineoverridevirtual |
Determine whether this pass should be skipped during Record time.
This is only executed after EndSetup() has been called, and when the render graph is actually executed.
Reimplemented from Foundation::RenderCore::RenderPass.
|
inlineoverridevirtual |
Record the commands of this pass into the given command list.
This is only executed after EndSetup() has been called, and when the render graph is actually executed.
Implements Foundation::RenderCore::RenderPass.
|
inlineoverridevirtual |
Perform any setup required for this pass. This may include creating resources, declaring resource accesses, etc.
Implements Foundation::RenderCore::RenderPass.
| FRecord Foundation::RenderCore::LambdaPass< FSetup, FRecord, FSkip >::mRecord |
| FSetup Foundation::RenderCore::LambdaPass< FSetup, FRecord, FSkip >::mSetup |
| FSkip Foundation::RenderCore::LambdaPass< FSetup, FRecord, FSkip >::mSkip |