violet
Simple, cross-platform graphics API
Loading...
Searching...
No Matches
violet::RenderPassDescriptor Struct Reference

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< RenderPassDepthAttachmentdepth_attachment
 
std::vector< RenderPassColorAttachmentcolor_attachments
 

The documentation for this struct was generated from the following file: