LiteFX::Rendering::IRenderTarget::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 = 0;
Return Value¶
true, if the render target should be cleared, when the render pass is started
See Also¶
clearStencil
clearValues
flags
RenderTargetFlags