#include <graphics_context.hpp>
|
static auto | Create (const std::string &application_name, const std::vector< std::string_view > &requested_extensions={}, const std::vector< std::string_view > &requested_layers={}) -> expected< std::shared_ptr< GraphicsContext > > |
|
◆ GraphicsContext() [1/3]
◆ GraphicsContext() [2/3]
◆ ~GraphicsContext()
wren::GraphicsContext::~GraphicsContext |
( |
| ) |
|
◆ GraphicsContext() [3/3]
wren::GraphicsContext::GraphicsContext |
( |
| ) |
|
|
privatedefault |
◆ allocator()
auto wren::GraphicsContext::allocator |
( |
| ) |
const |
|
inline |
◆ Create()
auto wren::GraphicsContext::Create |
( |
const std::string & | application_name, |
|
|
const std::vector< std::string_view > & | requested_extensions = {}, |
|
|
const std::vector< std::string_view > & | requested_layers = {} ) -> expected<std::shared_ptr<GraphicsContext>> |
|
static |
◆ CreateAllocator()
auto wren::GraphicsContext::CreateAllocator |
( |
| ) |
-> expected< void > |
|
private |
◆ CreateDevice()
auto wren::GraphicsContext::CreateDevice |
( |
| ) |
-> expected<void> |
|
private |
◆ CreateInstance()
auto wren::GraphicsContext::CreateInstance |
( |
const std::string & | application_name, |
|
|
const std::vector< std::string_view > & | requested_extensions = {}, |
|
|
const std::vector< std::string_view > & | requested_layers = {} ) -> expected<void> |
|
private |
◆ Device()
auto wren::GraphicsContext::Device |
( |
| ) |
const -> const vulkan::Device & |
|
inline |
◆ FindQueueFamilyIndices()
auto wren::GraphicsContext::FindQueueFamilyIndices |
( |
| ) |
|
|
inline |
◆ GetSwapchainSupport()
auto wren::GraphicsContext::GetSwapchainSupport |
( |
| ) |
|
|
inline |
◆ InitializeSurface()
auto wren::GraphicsContext::InitializeSurface |
( |
| ) |
-> expected< void > |
◆ Instance()
auto wren::GraphicsContext::Instance |
( |
| ) |
const |
|
inline |
◆ IsDeviceSuitable()
auto wren::GraphicsContext::IsDeviceSuitable |
( |
const ::vk::PhysicalDevice & | device | ) |
-> bool |
|
private |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ PhysicalDevice()
auto wren::GraphicsContext::PhysicalDevice |
( |
| ) |
const -> ::vk::PhysicalDevice |
|
inline |
◆ PickPhysicalDevice()
auto wren::GraphicsContext::PickPhysicalDevice |
( |
| ) |
-> expected<void> |
|
private |
◆ SetupDevice()
auto wren::GraphicsContext::SetupDevice |
( |
| ) |
-> expected<void> |
◆ Surface() [1/2]
auto wren::GraphicsContext::Surface |
( |
| ) |
const -> ::vk::SurfaceKHR |
|
inline |
◆ Surface() [2/2]
void wren::GraphicsContext::Surface |
( |
const ::vk::SurfaceKHR & | surface | ) |
|
|
inline |
◆ allocator_
VmaAllocator wren::GraphicsContext::allocator_ {} |
|
private |
◆ device
◆ instance
::vk::Instance wren::GraphicsContext::instance |
|
private |
◆ physical_device
::vk::PhysicalDevice wren::GraphicsContext::physical_device |
|
private |
◆ surface
::vk::SurfaceKHR wren::GraphicsContext::surface |
|
private |
The documentation for this class was generated from the following files: