Macros | Functions
vulkan.c File Reference
#include "internal.h"
#include <assert.h>
#include <string.h>
#include <stdlib.h>
Include dependency graph for vulkan.c:

Go to the source code of this file.

Macros

#define _GLFW_FIND_LOADER   1
 
#define _GLFW_REQUIRE_LOADER   2
 

Functions

const char * _glfwGetVulkanResultString (VkResult result)
 
GLFWbool _glfwInitVulkan (int mode)
 
void _glfwTerminateVulkan (void)
 
GLFWAPI VkResult glfwCreateWindowSurface (VkInstance instance, GLFWwindow *handle, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
 
GLFWAPI GLFWvkproc glfwGetInstanceProcAddress (VkInstance instance, const char *procname)
 
GLFWAPI int glfwGetPhysicalDevicePresentationSupport (VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
 
GLFWAPI const char ** glfwGetRequiredInstanceExtensions (uint32_t *count)
 Returns the Vulkan instance extensions required by GLFW. More...
 
GLFWAPI int glfwVulkanSupported (void)
 Returns whether the Vulkan loader and an ICD have been found. More...
 

Macro Definition Documentation

◆ _GLFW_FIND_LOADER

#define _GLFW_FIND_LOADER   1

Definition at line 34 of file vulkan.c.

◆ _GLFW_REQUIRE_LOADER

#define _GLFW_REQUIRE_LOADER   2

Definition at line 35 of file vulkan.c.

Function Documentation

◆ _glfwGetVulkanResultString()

const char* _glfwGetVulkanResultString ( VkResult  result)

Definition at line 159 of file vulkan.c.

◆ _glfwInitVulkan()

GLFWbool _glfwInitVulkan ( int  mode)

Definition at line 42 of file vulkan.c.

◆ _glfwTerminateVulkan()

void _glfwTerminateVulkan ( void  )

Definition at line 151 of file vulkan.c.

◆ glfwCreateWindowSurface()

GLFWAPI VkResult glfwCreateWindowSurface ( VkInstance  instance,
GLFWwindow handle,
const VkAllocationCallbacks allocator,
VkSurfaceKHR surface 
)

Definition at line 293 of file vulkan.c.

◆ glfwGetInstanceProcAddress()

GLFWAPI GLFWvkproc glfwGetInstanceProcAddress ( VkInstance  instance,
const char *  procname 
)

Definition at line 243 of file vulkan.c.

◆ glfwGetPhysicalDevicePresentationSupport()

GLFWAPI int glfwGetPhysicalDevicePresentationSupport ( VkInstance  instance,
VkPhysicalDevice  device,
uint32_t  queuefamily 
)

Definition at line 269 of file vulkan.c.



mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22