Skip to content

LiteFX::Rendering::IFrameBuffer::released

Invoked when the frame buffer gets released.

Synopsis

Declared in <litefx/rendering_api.hpp>

mutable
Event<ReleasedEventArgs> released;

Description

Note that it is no longer valid to access the frame buffer when receiving this event. The only thing that can be assumed to still be valid is the pointer to the frame buffer. The intent of this event is to release any resources that depend on the frame buffer instance. Internally, render passes and pipelines use this event to release cached frame buffer states they hold, such as descriptor sets for input attachment bindings or command buffers associated with the frame buffer.

See Also

~IFrameBuffer