Documentation ¶
Index ¶
- type AcquireNextImageInfo
- type DeviceGroupPresentCapabilities
- type DeviceGroupPresentModeFlags
- type Extension
- type VulkanExtension
- func (v *VulkanExtension) AcquireNextImage2(device core1_0.Device, o AcquireNextImageInfo) (int, common.VkResult, error)
- func (v *VulkanExtension) DeviceGroupPresentCapabilities(device core1_0.Device, outData *DeviceGroupPresentCapabilities) (common.VkResult, error)
- func (v *VulkanExtension) DeviceGroupSurfacePresentModes(device core1_0.Device, surface khr_surface.Surface) (DeviceGroupPresentModeFlags, common.VkResult, error)
- func (v *VulkanExtension) PhysicalDevicePresentRectangles(physicalDevice core1_0.PhysicalDevice, surface khr_surface.Surface) ([]core1_0.Rect2D, common.VkResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcquireNextImageInfo ¶
type DeviceGroupPresentCapabilities ¶
type DeviceGroupPresentCapabilities struct { PresentMask [core1_1.MaxGroupSize]uint32 Modes DeviceGroupPresentModeFlags common.NextOutData }
func (*DeviceGroupPresentCapabilities) PopulateHeader ¶
func (*DeviceGroupPresentCapabilities) PopulateOutData ¶
type DeviceGroupPresentModeFlags ¶
type DeviceGroupPresentModeFlags int32
const ( DeviceGroupPresentModeLocal DeviceGroupPresentModeFlags = C.VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR DeviceGroupPresentModeRemote DeviceGroupPresentModeFlags = C.VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR DeviceGroupPresentModeSum DeviceGroupPresentModeFlags = C.VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR DeviceGroupPresentModeLocalMultiDevice DeviceGroupPresentModeFlags = C.VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR )
func (DeviceGroupPresentModeFlags) Register ¶
func (f DeviceGroupPresentModeFlags) Register(str string)
func (DeviceGroupPresentModeFlags) String ¶
func (f DeviceGroupPresentModeFlags) String() string
type Extension ¶
type Extension interface { AcquireNextImage2(device core1_0.Device, o AcquireNextImageInfo) (int, common.VkResult, error) DeviceGroupPresentCapabilities(device core1_0.Device, outData *DeviceGroupPresentCapabilities) (common.VkResult, error) DeviceGroupSurfacePresentModes(device core1_0.Device, surface khr_surface.Surface) (DeviceGroupPresentModeFlags, common.VkResult, error) PhysicalDevicePresentRectangles(physicalDevice core1_0.PhysicalDevice, surface khr_surface.Surface) ([]core1_0.Rect2D, common.VkResult, error) }
type VulkanExtension ¶
type VulkanExtension struct { khr_swapchain.Extension // contains filtered or unexported fields }
func CreateExtensionFromDriver ¶
func CreateExtensionFromDriver(driver khr_swapchain_driver.Driver) *VulkanExtension
func PromoteExtension ¶
func PromoteExtension(extension khr_swapchain.Extension) *VulkanExtension
func (*VulkanExtension) AcquireNextImage2 ¶
func (v *VulkanExtension) AcquireNextImage2(device core1_0.Device, o AcquireNextImageInfo) (int, common.VkResult, error)
func (*VulkanExtension) DeviceGroupPresentCapabilities ¶
func (v *VulkanExtension) DeviceGroupPresentCapabilities(device core1_0.Device, outData *DeviceGroupPresentCapabilities) (common.VkResult, error)
func (*VulkanExtension) DeviceGroupSurfacePresentModes ¶
func (v *VulkanExtension) DeviceGroupSurfacePresentModes(device core1_0.Device, surface khr_surface.Surface) (DeviceGroupPresentModeFlags, common.VkResult, error)
func (*VulkanExtension) PhysicalDevicePresentRectangles ¶
func (v *VulkanExtension) PhysicalDevicePresentRectangles(physicalDevice core1_0.PhysicalDevice, surface khr_surface.Surface) ([]core1_0.Rect2D, common.VkResult, error)
Click to show internal directories.
Click to hide internal directories.