Attachments

sg_attachments

Used in sg_pass to provide render pass attachment views. Each type of pass attachment has it corresponding view type:

sg_attachments.colors[]: populate with color-attachment views, e.g.:

sg_make_view(&(sg_view_desc){ .color_attachment = { ... }, });

sg_attachments.resolves[]: populate with resolve-attachment views, e.g.:

sg_make_view(&(sg_view_desc){ .resolve_attachment = { ... }, });

sg_attachments.depth_stencil: populate with depth-stencil-attachment views, e.g.:

sg_make_view(&(sg_view_desc){ .depth_stencil_attachment = { ... }, });

Members

Variables

colors
View[8] colors;
Undocumented in source.
depth_stencil
View depth_stencil;
Undocumented in source.
resolves
View[8] resolves;
Undocumented in source.

Meta