|
|
vk::SurfaceKHR | intrinsic |
| |
|
vk::SwapchainKHR | swapchain |
| |
|
uint32_t | nrSwapchainImages |
| |
|
vk::Extent2D | swapchainImageExtent |
| |
|
vk::SurfaceFormatKHR | swapchainImageFormat |
| |
|
std::vector< swapchain_image_info > | swapchain_image_infos |
| |
|
VmaAllocation | depthImageAllocation |
| |
|
vk::Image | depthImage |
| |
|
vk::ImageView | depthImageView |
| |
|
std::array< VmaAllocation, 1 > | colorImageAllocations |
| |
|
std::array< vk::Image, 1 > | colorImages |
| |
|
std::array< vk::ImageView, 1 > | colorImageViews |
| |
|
std::array< vk::DescriptorImageInfo, 1 > | colorDescriptorImageInfos |
| |
|
vk::RenderPass | renderPass |
| |
|
vk::CommandBuffer | commandBuffer |
| |
|
vk::Semaphore | imageAvailableSemaphore |
| |
|
vk::Semaphore | renderFinishedSemaphore |
| |
|
vk::Fence | renderFinishedFence |
| |
|
std::unique_ptr< pipeline_image::pipeline_image > | imagePipeline |
| |
|
std::unique_ptr< pipeline_box::pipeline_box > | boxPipeline |
| |
|
std::unique_ptr< pipeline_SDF::pipeline_SDF > | SDFPipeline |
| |
|
std::unique_ptr< pipeline_tone_mapper::pipeline_tone_mapper > | toneMapperPipeline |
| |
|
gfx_system & | system |
| |
|
gfx_surface_state | state = gfx_surface_state::has_window |
| |
|
gfx_surface_loss | loss = gfx_surface_loss::none |
| |
|
|
static constexpr uint32_t | defaultNumberOfSwapchainImages = 2 |
| |
|
static const vk::Format | depthImageFormat = vk::Format::eD16Unorm |
| |
|
static const vk::Format | colorImageFormat = vk::Format::eR16G16B16A16Sfloat |
| |
◆ init()
| void v1::gfx_surface_vulkan::init |
( |
| ) |
|
|
overridevirtual |
◆ render_finish()
| void v1::gfx_surface_vulkan::render_finish |
( |
draw_context const & | context | ) |
|
|
overridevirtual |
◆ render_start()
◆ set_device()
| void v1::gfx_surface_vulkan::set_device |
( |
gfx_device * | device | ) |
|
|
overridevirtualnoexcept |
Set GPU device to manage this window. Change of the device may be done at runtime.
- Parameters
-
| device | The device to use for rendering, may be nullptr. |
Reimplemented from v1::gfx_surface.
◆ size()
| extent2 v1::gfx_surface_vulkan::size |
( |
| ) |
const |
|
overridevirtualnoexcept |
◆ update()
| void v1::gfx_surface_vulkan::update |
( |
extent2 | new_size | ) |
|
|
overridevirtualnoexcept |
Update the surface.
This function will check if the graphic pipeline and swapchain needs to be build, rebuild, or torn down.
- Parameters
-
| new_size | The size of the window. |
Implements v1::gfx_surface.
The documentation for this class was generated from the following file: