nngn
|
#include "graphics/graphics.h"
#include "os/platform.h"
#include "utils/log.h"
#include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <cstdint>
#include <limits>
#include <ranges>
#include <span>
#include <vector>
#include "vulkan.h"
#include <GLFW/glfw3.h>
#include "const.h"
#include "font/font.h"
#include "graphics/glfw.h"
#include "graphics/shaders.h"
#include "math/camera.h"
#include "timing/profile.h"
#include "utils/flags.h"
#include "utils/literals.h"
#include "cmd_pool.h"
#include "descriptor.h"
#include "device.h"
#include "instance.h"
#include "memory.h"
#include "resource.h"
#include "staging.h"
#include "swapchain.h"
#include "utils.h"
Namespaces | |
namespace | anonymous_namespace{vulkan.cpp} |
namespace | nngn |
Functions | |
bool | anonymous_namespace{vulkan.cpp}::check_support (std::ranges::input_range auto &&s0, std::ranges::input_range auto &&s1, const char *name) |
template<> | |
std::unique_ptr< Graphics > | nngn::graphics_create_backend< Backend > (const void *params) |
Variables | |
static constexpr auto | Backend = nngn::Graphics::Backend::VULKAN_BACKEND |
constexpr std::array | anonymous_namespace{vulkan.cpp}::DEVICE_EXTENSIONS |
Required device extensions. | |
constexpr std::array | anonymous_namespace{vulkan.cpp}::VALIDATION_LAYERS = {"VK_LAYER_KHRONOS_validation"} |
Validation layers enabled in debug mode. | |
constexpr VkSurfaceFormatKHR | anonymous_namespace{vulkan.cpp}::SURFACE_FORMAT |
Preferred swap chain image format. | |
constexpr auto | anonymous_namespace{vulkan.cpp}::DEPTH_FORMAT = VK_FORMAT_D32_SFLOAT |
Preferred depth image format. | |
constexpr auto | anonymous_namespace{vulkan.cpp}::PRESENT_MODE = nngn::Graphics::PresentMode::FIFO |
Preferred swap chain present mode. | |
constexpr auto | anonymous_namespace{vulkan.cpp}::CMD_POOL_FLAGS = VK_COMMAND_POOL_CREATE_TRANSIENT_BIT |
Flags used to create all command pools. | |
constexpr std::size_t | anonymous_namespace{vulkan.cpp}::MAX_FRAMES = 32 |
Maximum number of concurrent frames. | |
const auto | anonymous_namespace{vulkan.cpp}::CLIP_PROJ |
Adjusts depth values in clip space. | |
|
staticconstexpr |