|
Foundation
|
Interface for a render pass. More...
#include <RenderPass.hpp>
Public Member Functions | |
| RenderPass ()=default | |
| Constructor. You may also create resources here for early setup. However, access declaration must be done in Setup(). | |
| virtual void | Setup (PassHandle self, Renderer *r)=0 |
| Perform any setup required for this pass. This may include creating resources, declaring resource accesses, etc. | |
| virtual void | Record (PassHandle self, Renderer *r, RHI::RHICommandList *cmd)=0 |
| Record the commands of this pass into the given command list. | |
| virtual bool | IsSkipped (PassHandle self, Renderer *r) const |
| Determine whether this pass should be skipped during Record time. | |
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 |
Interface for a render pass.
|
default |
Constructor. You may also create resources here for early setup. However, access declaration must be done in Setup().
|
inlinevirtual |
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 in Foundation::RenderCore::LambdaPass< FSetup, FRecord, FSkip >.
|
pure virtual |
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.
Implemented in Foundation::RenderCore::LambdaPass< FSetup, FRecord, FSkip >.
|
pure virtual |
Perform any setup required for this pass. This may include creating resources, declaring resource accesses, etc.
Implemented in Foundation::RenderCore::LambdaPass< FSetup, FRecord, FSkip >.