LiteFX::Rendering::RenderTarget::clearBuffer¶
Returns true, if the render target should be cleared, when the render pass is started. If the format is set to a depth format, this clears the depth buffer. Otherwise it clears the color buffer.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] virtual bool clearBuffer() const noexcept override;Return Value¶
true, if the render target should be cleared, when the render pass is started