VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
visutwin::canvas::RenderPassBloom Class Reference

#include <scene/graphics/renderPassBloom.h>

Inheritance diagram for visutwin::canvas::RenderPassBloom:
[legend]

Public Member Functions

TexturebloomTexture () const
void frameUpdate () const override
void onDisable () override
 RenderPassBloom (const std::shared_ptr< GraphicsDevice > &device, Texture *sourceTexture, PixelFormat format)
void setBlurLevel (const int value)
 ~RenderPassBloom ()=default
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 ()
virtual void before ()
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< ColorAttachmentOpscolorOps () const
std::shared_ptr< DepthStencilAttachmentOpsdepthStencilOps () const
bool enabled () const
virtual void execute ()
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 onEnable ()
virtual void postInit ()
void render ()
 RenderPass (const std::shared_ptr< GraphicsDevice > &device)
std::shared_ptr< RenderTargetrenderTarget () 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

Protected Member Functions inherited from visutwin::canvas::RenderPass
std::shared_ptr< GraphicsDevicedevice () const
Protected Attributes inherited from visutwin::canvas::RenderPass
std::string _name
bool _requiresCubemaps = true

Detailed Description

Definition at line 14 of file renderPassBloom.h.

Constructor & Destructor Documentation

◆ RenderPassBloom()

visutwin::canvas::RenderPassBloom::RenderPassBloom ( const std::shared_ptr< GraphicsDevice > & device,
Texture * sourceTexture,
PixelFormat format )

◆ ~RenderPassBloom()

visutwin::canvas::RenderPassBloom::~RenderPassBloom ( )
default

Member Function Documentation

◆ bloomTexture()

Texture * visutwin::canvas::RenderPassBloom::bloomTexture ( ) const
inline

Definition at line 23 of file renderPassBloom.h.

◆ frameUpdate()

void visutwin::canvas::RenderPassBloom::frameUpdate ( ) const
overridevirtual

◆ onDisable()

void visutwin::canvas::RenderPassBloom::onDisable ( )
overridevirtual

Reimplemented from visutwin::canvas::RenderPass.

Definition at line 119 of file renderPassBloom.cpp.

◆ setBlurLevel()

void visutwin::canvas::RenderPassBloom::setBlurLevel ( const int value)
inline

Definition at line 24 of file renderPassBloom.h.


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