khr_swapchain_driver

package
v0.0.0-...-0931f86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2022 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CDriver

type CDriver struct {
	// contains filtered or unexported fields
}

func CreateDriverFromCore

func CreateDriverFromCore(coreDriver driver.Driver) *CDriver

func (*CDriver) VkAcquireNextImage2KHR

func (d *CDriver) VkAcquireNextImage2KHR(device driver.VkDevice, pAcquireInfo *VkAcquireNextImageInfoKHR, pImageIndex *driver.Uint32) (common.VkResult, error)

func (*CDriver) VkAcquireNextImageKHR

func (d *CDriver) VkAcquireNextImageKHR(device driver.VkDevice, swapchain VkSwapchainKHR, timeout driver.Uint64, semaphore driver.VkSemaphore, fence driver.VkFence, pImageIndex *driver.Uint32) (common.VkResult, error)

func (*CDriver) VkCreateSwapchainKHR

func (d *CDriver) VkCreateSwapchainKHR(device driver.VkDevice, pCreateInfo *VkSwapchainCreateInfoKHR, pAllocator *driver.VkAllocationCallbacks, pSwapchain *VkSwapchainKHR) (common.VkResult, error)

func (*CDriver) VkDestroySwapchainKHR

func (d *CDriver) VkDestroySwapchainKHR(device driver.VkDevice, swapchain VkSwapchainKHR, pAllocator *driver.VkAllocationCallbacks)

func (*CDriver) VkGetDeviceGroupPresentCapabilitiesKHR

func (d *CDriver) VkGetDeviceGroupPresentCapabilitiesKHR(device driver.VkDevice, pDeviceGroupPresentCapabilities *VkDeviceGroupPresentCapabilitiesKHR) (common.VkResult, error)

func (*CDriver) VkGetDeviceGroupSurfacePresentModesKHR

func (d *CDriver) VkGetDeviceGroupSurfacePresentModesKHR(device driver.VkDevice, surface khr_surface_driver.VkSurfaceKHR, pModes *VkDeviceGroupPresentModeFlagsKHR) (common.VkResult, error)

func (*CDriver) VkGetPhysicalDevicePresentRectanglesKHR

func (d *CDriver) VkGetPhysicalDevicePresentRectanglesKHR(physicalDevice driver.VkPhysicalDevice, surface khr_surface_driver.VkSurfaceKHR, pRectCount *driver.Uint32, pRects *driver.VkRect2D) (common.VkResult, error)

func (*CDriver) VkGetSwapchainImagesKHR

func (d *CDriver) VkGetSwapchainImagesKHR(device driver.VkDevice, swapchain VkSwapchainKHR, pSwapchainImageCount *driver.Uint32, pSwapchainImages *driver.VkImage) (common.VkResult, error)

func (*CDriver) VkQueuePresentKHR

func (d *CDriver) VkQueuePresentKHR(queue driver.VkQueue, pPresentInfo *VkPresentInfoKHR) (common.VkResult, error)

type Driver

type Driver interface {
	VkCreateSwapchainKHR(device driver.VkDevice, pCreateInfo *VkSwapchainCreateInfoKHR, pAllocator *driver.VkAllocationCallbacks, pSwapchain *VkSwapchainKHR) (common.VkResult, error)
	VkDestroySwapchainKHR(device driver.VkDevice, swapchain VkSwapchainKHR, pAllocator *driver.VkAllocationCallbacks)
	VkGetSwapchainImagesKHR(device driver.VkDevice, swapchain VkSwapchainKHR, pSwapchainImageCount *driver.Uint32, pSwapchainImages *driver.VkImage) (common.VkResult, error)
	VkAcquireNextImageKHR(device driver.VkDevice, swapchain VkSwapchainKHR, timeout driver.Uint64, semaphore driver.VkSemaphore, fence driver.VkFence, pImageIndex *driver.Uint32) (common.VkResult, error)
	VkQueuePresentKHR(queue driver.VkQueue, pPresentInfo *VkPresentInfoKHR) (common.VkResult, error)
	VkAcquireNextImage2KHR(device driver.VkDevice, pAcquireInfo *VkAcquireNextImageInfoKHR, pImageIndex *driver.Uint32) (common.VkResult, error)
	VkGetDeviceGroupPresentCapabilitiesKHR(device driver.VkDevice, pDeviceGroupPresentCapabilities *VkDeviceGroupPresentCapabilitiesKHR) (common.VkResult, error)
	VkGetDeviceGroupSurfacePresentModesKHR(device driver.VkDevice, surface khr_surface_driver.VkSurfaceKHR, pModes *VkDeviceGroupPresentModeFlagsKHR) (common.VkResult, error)
	VkGetPhysicalDevicePresentRectanglesKHR(physicalDevice driver.VkPhysicalDevice, surface khr_surface_driver.VkSurfaceKHR, pRectCount *driver.Uint32, pRects *driver.VkRect2D) (common.VkResult, error)
}

type VkAcquireNextImageInfoKHR

type VkAcquireNextImageInfoKHR C.VkAcquireNextImageInfoKHR

type VkBindImageMemorySwapchainInfoKHR

type VkBindImageMemorySwapchainInfoKHR C.VkBindImageMemorySwapchainInfoKHR

type VkDeviceGroupPresentCapabilitiesKHR

type VkDeviceGroupPresentCapabilitiesKHR C.VkDeviceGroupPresentCapabilitiesKHR

type VkDeviceGroupPresentInfoKHR

type VkDeviceGroupPresentInfoKHR C.VkDeviceGroupPresentInfoKHR

type VkDeviceGroupPresentModeFlagsKHR

type VkDeviceGroupPresentModeFlagsKHR C.VkDeviceGroupPresentModeFlagsKHR

type VkDeviceGroupSwapchainCreateInfoKHR

type VkDeviceGroupSwapchainCreateInfoKHR C.VkDeviceGroupSwapchainCreateInfoKHR

type VkImageSwapchainCreateInfoKHR

type VkImageSwapchainCreateInfoKHR C.VkImageSwapchainCreateInfoKHR

type VkPresentInfoKHR

type VkPresentInfoKHR C.VkPresentInfoKHR

type VkSwapchainCreateInfoKHR

type VkSwapchainCreateInfoKHR C.VkSwapchainCreateInfoKHR

type VkSwapchainKHR

type VkSwapchainKHR driver.VulkanHandle

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL