violet
Simple, cross-platform graphics API
|
Public Member Functions | |
void | add_color_attachment (const RenderTarget &target, const ClearColor &clear_color={}, LoadAction load_action=LoadAction::Clear, StoreAction store_action=StoreAction::Store) |
void | set_depth_attachment (const DepthTarget &target, bool clear_depth=true, LoadAction load_action=LoadAction::Clear, StoreAction store_action=StoreAction::Store) |
Public Attributes | |
std::optional< RenderPassDepthAttachment > | depth_attachment |
std::vector< RenderPassColorAttachment > | color_attachments |