Skip to content

LiteFX::Rendering::IRenderTarget::clearStencil

Returns true, if the render target stencil should be cleared, when the render pass is started. If the format is does not contain a stencil channel, this has no effect.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual bool clearStencil() const noexcept = 0;

Return Value

true, if the render target stencil should be cleared, when the render pass is started

See Also

clearStencil

clearValues

flags

RenderTargetFlags