Luna::RHI::SwapChainDesc

Describes one swap chain.

struct Luna::RHI::SwapChainDesc

Member objects

  • u32 width

    The width of the swap chain back buffer. Specify 0 will determine the size from the bounding window's native size.

  • u32 height

    The width of the swap chain back buffer. Specify 0 will determine the size from the bounding window's native size.

  • u32 buffer_count

    The number of back buffers in the swap chain.

  • Format format

    The pixel format of the back buffer.

  • bool vertical_synchronized

    Whether to synchronize frame image presentation to vertical blanks of the monitor.