15enum class VertexAttributeType { Position, Normal, Color, Texcoord };
90 void add_color_attachment(
93 LoadAction load_action = LoadAction::Clear,
94 StoreAction store_action = StoreAction::Store
104 void set_depth_attachment(
106 bool clear_depth =
true,
107 LoadAction load_action = LoadAction::Clear,
108 StoreAction store_action = StoreAction::Store
118 std::optional<RenderPassDepthAttachment> depth_attachment;
119 std::vector<RenderPassColorAttachment> color_attachments;
size_t array_layers
number of layers if dimension is D2Array
Definition render.h:255