nicegraf
|
Data Fields | |
ngf_attachment_type | type |
ngf_image_format | format |
ngf_sample_count | sample_count |
bool | is_sampled |
bool | is_resolve |
Describes the type and format of a render target attachment.
ngf_image_format ngf_attachment_description::format |
Format of the associated image. Note that it must be valid for the given attachment type.
bool ngf_attachment_description::is_resolve |
Whether the image associated with this attachment is used as an MSAA resolve target.
bool ngf_attachment_description::is_sampled |
Whether the image associated with this attachment is sampled from a shader at any point.
ngf_sample_count ngf_attachment_description::sample_count |
Number of samples per pixel in the associated image.
ngf_attachment_type ngf_attachment_description::type |
What the attachment shall be used for.