nicegraf
|
Data Fields | |
ngf_image_format | color_format |
ngf_colorspace | colorspace |
ngf_image_format | depth_format |
ngf_sample_count | sample_count |
uint32_t | capacity_hint |
uint32_t | width |
uint32_t | height |
uintptr_t | native_handle |
ngf_present_mode | present_mode |
Swapchain configuration.
uint32_t ngf_swapchain_info::capacity_hint |
Number of images in swapchain (may be ignored)
ngf_image_format ngf_swapchain_info::color_format |
Swapchain image format.
ngf_colorspace ngf_swapchain_info::colorspace |
Colorspace that the swapchain image uses.
ngf_image_format ngf_swapchain_info::depth_format |
Format to use for the depth buffer, if set to NGF_IMAGE_FORMAT_UNDEFINED, no depth buffer will be created.
uint32_t ngf_swapchain_info::height |
Height of swapchain images in pixels.
uintptr_t ngf_swapchain_info::native_handle |
HWND, ANativeWindow, NSWindow, etc.
ngf_present_mode ngf_swapchain_info::present_mode |
Desired present mode.
ngf_sample_count ngf_swapchain_info::sample_count |
Number of samples per pixel (0 for non-multisampled)
uint32_t ngf_swapchain_info::width |
Width of swapchain images in pixels.