|
VisuTwin Canvas
C++ 3D Engine — Metal Backend
|
#include <scene/graphics/renderPassTAA.h>
Public Member Functions | |
| void | before () override |
| void | execute () override |
| void | frameUpdate () const override |
| std::shared_ptr< Texture > | historyTexture () const |
| bool | historyValid () const |
| RenderPassTAA (const std::shared_ptr< GraphicsDevice > &device, Texture *sourceTexture, CameraComponent *cameraComponent) | |
| void | setDepthTexture (Texture *depthTexture) |
| void | setHighQuality (const bool value) |
| void | setSourceTexture (Texture *sourceTexture) |
| std::shared_ptr< Texture > | update () |
| Public Member Functions inherited from visutwin::canvas::RenderPassShaderQuad | |
| void | clearQuadTextureBindings () |
| RenderPassShaderQuad (const std::shared_ptr< GraphicsDevice > &device) | |
| void | setQuadTextureBinding (const size_t slot, Texture *texture) |
| void | setShader (const std::shared_ptr< Shader > &shader) |
| std::shared_ptr< Shader > | shader () const |
| Public Member Functions inherited from visutwin::canvas::RenderPass | |
| void | addAfterPass (const std::shared_ptr< RenderPass > &renderPass) |
| void | addBeforePass (const std::shared_ptr< RenderPass > &renderPass) |
| virtual void | after () |
| const std::vector< std::shared_ptr< RenderPass > > & | afterPasses () const |
| void | allocateAttachments () |
| const std::vector< std::shared_ptr< RenderPass > > & | beforePasses () const |
| void | clearAfterPasses () |
| void | clearBeforePasses () |
| const std::vector< std::shared_ptr< ColorAttachmentOps > > & | colorArrayOps () const |
| std::shared_ptr< ColorAttachmentOps > | colorOps () const |
| std::shared_ptr< DepthStencilAttachmentOps > | depthStencilOps () const |
| bool | enabled () const |
| virtual void | init (const std::shared_ptr< RenderTarget > &renderTarget=nullptr, const std::shared_ptr< RenderPassOptions > &options=nullptr) |
| void | log (std::shared_ptr< GraphicsDevice > device, int index=0) const |
| virtual void | onDisable () |
| virtual void | onEnable () |
| virtual void | postInit () |
| void | render () |
| RenderPass (const std::shared_ptr< GraphicsDevice > &device) | |
| std::shared_ptr< RenderTarget > | renderTarget () const |
| bool | requiresCubemaps () const |
| float | scaleX () const |
| float | scaleY () const |
| void | setClearColor (const Color *color=nullptr) |
| void | setClearDepth (const float *depthValue=nullptr) |
| void | setClearStencil (const int *stencilValue=nullptr) |
| void | setEnabled (bool value) |
| void | setOptions (const std::shared_ptr< RenderPassOptions > &value) |
| void | setRequiresCubemaps (bool value) |
| void | setSkipEnd (const bool value) |
| void | setSkipStart (const bool value) |
Additional Inherited Members | |
| Public Attributes inherited from visutwin::canvas::RenderPassShaderQuad | |
| std::shared_ptr< BlendState > | blendState = std::make_shared<BlendState>() |
| CullMode | cullMode = CullMode::CULLFACE_NONE |
| std::shared_ptr< DepthState > | depthState = std::make_shared<DepthState>() |
| std::optional< Vector4 > | scissor |
| std::shared_ptr< StencilParameters > | stencilBack = nullptr |
| std::shared_ptr< StencilParameters > | stencilFront = nullptr |
| std::optional< Vector4 > | viewport |
| Protected Member Functions inherited from visutwin::canvas::RenderPass | |
| std::shared_ptr< GraphicsDevice > | device () const |
| Protected Attributes inherited from visutwin::canvas::RenderPass | |
| std::string | _name |
| bool | _requiresCubemaps = true |
Definition at line 15 of file renderPassTAA.h.
| visutwin::canvas::RenderPassTAA::RenderPassTAA | ( | const std::shared_ptr< GraphicsDevice > & | device, |
| Texture * | sourceTexture, | ||
| CameraComponent * | cameraComponent ) |
Definition at line 16 of file renderPassTAA.cpp.
References visutwin::canvas::RenderPass::device(), and visutwin::canvas::RenderPassShaderQuad::RenderPassShaderQuad().
|
overridevirtual |
Reimplemented from visutwin::canvas::RenderPass.
Definition at line 57 of file renderPassTAA.cpp.
References visutwin::canvas::RenderPass::setOptions().
|
overridevirtual |
Reimplemented from visutwin::canvas::RenderPassShaderQuad.
Definition at line 69 of file renderPassTAA.cpp.
References visutwin::canvas::RenderPass::device(), visutwin::canvas::Texture::height(), visutwin::canvas::Orthographic, and visutwin::canvas::Texture::width().
|
overridevirtual |
Reimplemented from visutwin::canvas::RenderPass.
Definition at line 106 of file renderPassTAA.cpp.
References visutwin::canvas::RenderPass::frameUpdate().
|
inline |
Definition at line 25 of file renderPassTAA.h.
|
inline |
Definition at line 26 of file renderPassTAA.h.
|
inline |
Definition at line 28 of file renderPassTAA.h.
|
inline |
Definition at line 29 of file renderPassTAA.h.
|
inline |
Definition at line 27 of file renderPassTAA.h.
| std::shared_ptr< Texture > visutwin::canvas::RenderPassTAA::update | ( | ) |
Definition at line 111 of file renderPassTAA.cpp.
References visutwin::canvas::RenderPass::init().