Documentation
¶
Index ¶
- Constants
- type AcquireNextImageInfo
- type BindBufferMemoryDeviceGroupInfo
- type BindImageMemoryDeviceGroupInfo
- type BindImageMemorySwapchainInfo
- type DeviceGroupBindSparseInfo
- type DeviceGroupCommandBufferBeginInfo
- type DeviceGroupPresentCapabilities
- type DeviceGroupPresentInfo
- type DeviceGroupPresentModeFlags
- type DeviceGroupRenderPassBeginInfo
- type DeviceGroupSubmitInfo
- type DeviceGroupSwapchainCreateInfo
- type ExtensionDriver
- type ExtensionDriverWithKHRSurface
- type ExtensionDriverWithKHRSwapchain
- type ImageSwapchainCreateInfo
- type MemoryAllocateFlags
- type MemoryAllocateFlagsInfo
- type PeerMemoryFeatureFlags
- type VulkanExtensionDriver
- func (v *VulkanExtensionDriver) CmdDispatchBase(commandBuffer core1_0.CommandBuffer, ...)
- func (v *VulkanExtensionDriver) CmdSetDeviceMask(commandBuffer core1_0.CommandBuffer, deviceMask uint32)
- func (v *VulkanExtensionDriver) GetDeviceGroupPeerMemoryFeatures(heapIndex, localDeviceIndex, remoteDeviceIndex int) PeerMemoryFeatureFlags
- func (v *VulkanExtensionDriver) WithKHRSurface() ExtensionDriverWithKHRSurface
- func (v *VulkanExtensionDriver) WithKHRSwapchain() ExtensionDriverWithKHRSwapchain
- type VulkanExtensionDriverWithKHRSurface
- func (v *VulkanExtensionDriverWithKHRSurface) GetDeviceGroupPresentCapabilities(outData *DeviceGroupPresentCapabilities) (common.VkResult, error)
- func (v *VulkanExtensionDriverWithKHRSurface) GetDeviceGroupSurfacePresentModes(surface khr_surface.Surface) (DeviceGroupPresentModeFlags, common.VkResult, error)
- func (v *VulkanExtensionDriverWithKHRSurface) GetPhysicalDevicePresentRectangles(physicalDevice core1_0.PhysicalDevice, surface khr_surface.Surface) ([]core1_0.Rect2D, common.VkResult, error)
- type VulkanExtensionDriverWithKHRSwapchain
Constants ¶
const ( // ExtensionName is "VK_KHR_device_group" // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_device_group.html ExtensionName string = C.VK_KHR_DEVICE_GROUP_EXTENSION_NAME // DependencyDeviceGroup specifies that dependencies are non-device-local // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDependencyFlagBits.html DependencyDeviceGroup core1_0.DependencyFlags = C.VK_DEPENDENCY_DEVICE_GROUP_BIT_KHR // MemoryAllocateDeviceMask specifies that memory will be allocated for the devices // in MemoryAllocateFlagsInfo.DeviceMask // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkMemoryAllocateFlagBitsKHR.html MemoryAllocateDeviceMask MemoryAllocateFlags = C.VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT_KHR // DeviceGroupPresentModeLocal specifies that any PhysicalDevice with a presentation engine can // present its own swapchain Image objects // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDeviceGroupPresentModeFlagBitsKHR.html DeviceGroupPresentModeLocal DeviceGroupPresentModeFlags = C.VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR // DeviceGroupPresentModeRemote specifies that any PhysicalDevice with a presentation engine can // present swapchain Image objects from any PhysicalDevice in its PresentMask // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDeviceGroupPresentModeFlagBitsKHR.html DeviceGroupPresentModeRemote DeviceGroupPresentModeFlags = C.VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR // DeviceGroupPresentModeSum specifies that any PhysicalDevice with a presentation engine can present // the sum of swapchain Image objects from any PhysicalDevice in its PresentMask // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDeviceGroupPresentModeFlagBitsKHR.html DeviceGroupPresentModeSum DeviceGroupPresentModeFlags = C.VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR // DeviceGroupPresentModeLocalMultiDevice specifies that multiple PhysicalDevice objects with a presentation // engine can each present their own swapchain Image objects // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDeviceGroupPresentModeFlagBitsKHR.html DeviceGroupPresentModeLocalMultiDevice DeviceGroupPresentModeFlags = C.VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR // PeerMemoryFeatureCopyDst specifies that the memory can be accessed as the destination of // any CommandBuffer.CmdCopy... command // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPeerMemoryFeatureFlagBits.html PeerMemoryFeatureCopyDst PeerMemoryFeatureFlags = C.VK_PEER_MEMORY_FEATURE_COPY_DST_BIT_KHR // PeerMemoryFeatureCopySrc specifies that the memory can be accessed as the source of any // CommandBuffer.CmdCopy... command // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPeerMemoryFeatureFlagBits.html PeerMemoryFeatureCopySrc PeerMemoryFeatureFlags = C.VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT_KHR // PeerMemoryFeatureGenericDst specifies that the memory can be written as any memory access type // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPeerMemoryFeatureFlagBits.html PeerMemoryFeatureGenericDst PeerMemoryFeatureFlags = C.VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT_KHR // PeerMemoryFeatureGenericSrc specifies that the memory can be read as any memory access type // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPeerMemoryFeatureFlagBits.html PeerMemoryFeatureGenericSrc PeerMemoryFeatureFlags = C.VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT_KHR // PipelineCreateDispatchBase specifies that a compute pipeline can be used with // CommandBuffer.CmdDispatchBase with a non-zero base workgroup // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPipelineCreateFlagBits.html PipelineCreateDispatchBase core1_0.PipelineCreateFlags = C.VK_PIPELINE_CREATE_DISPATCH_BASE_KHR // PipelineCreateViewIndexFromDeviceIndex specifies that any shader input variables // decorated as ViewIndex will be assigned values as if they were decorated as DeviceIndex // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPipelineCreateFlagBits.html PipelineCreateViewIndexFromDeviceIndex core1_0.PipelineCreateFlags = C.VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR // ImageCreateSplitInstanceBindRegions specifies that the Image can be used with a non-empty // BindImageMemoryDeviceGroupInfo.SplitInstanceBindRegions // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkImageCreateFlagBits.html ImageCreateSplitInstanceBindRegions core1_0.ImageCreateFlags = C.VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR // SwapchainCreateSplitInstanceBindRegions specifies that Image objects created from the swpachain // must use ImageCreateSplitInstanceBindRegions // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSwapchainCreateFlagBitsKHR.html SwapchainCreateSplitInstanceBindRegions khr_swapchain.SwapchainCreateFlags = C.VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcquireNextImageInfo ¶
type AcquireNextImageInfo struct {
// Swapchain is the khr_swapchain.Swapchain from which an Image is acquired
Swapchain khr_swapchain.Swapchain
// Timeout is how long to wait, in nanoseconds, if no Image is available, before returning core1_0.VKTimeout.
// May be common.NoTimeout to wait indefinitely. The timeout is adjusted to the closest value allowed by the
// implementation timeout accuracy, which may be substantially longer than the requested timeout.
Timeout time.Duration
// Semaphore is, optionally, a Semaphore to signal when acquisition is complete
Semaphore core1_0.Semaphore
// Fence is, optionally, a Fence to signal when acquisition is complete
Fence core1_0.Fence
// DeviceMask is a mask of PhysicalDevice objects for which the khr_swapchain.Swapchain Image will be
// ready to use when the Semaphore or Fence is signaled
DeviceMask uint32
common.NextOptions
}
AcquireNextImageInfo specifies parameters of the acquire operation
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkAcquireNextImageInfoKHR.html
type BindBufferMemoryDeviceGroupInfo ¶
type BindBufferMemoryDeviceGroupInfo struct {
// DeviceIndices is a slice of Device indices
DeviceIndices []int
common.NextOptions
}
BindBufferMemoryDeviceGroupInfo specifies Device within a group to bind to
type BindImageMemoryDeviceGroupInfo ¶
type BindImageMemoryDeviceGroupInfo struct {
// DeviceIndices is a slice of Device indices
DeviceIndices []int
// SplitInstanceBindRegions is a slice of Rect2D structures describing which regions of
// the Image are attached to each instance of DeviceMemory
SplitInstanceBindRegions []core1_0.Rect2D
common.NextOptions
}
BindImageMemoryDeviceGroupInfo specifies Device within a group to bind to
type BindImageMemorySwapchainInfo ¶
type BindImageMemorySwapchainInfo struct {
// Swapchain is the khr_swapchain.Swapchain whose Image memory will be bound
Swapchain khr_swapchain.Swapchain
// ImageIndex is an Image index within Swapchain
ImageIndex int
common.NextOptions
}
BindImageMemorySwapchainInfo specifies swapchain Image memory to bind to
type DeviceGroupBindSparseInfo ¶
type DeviceGroupBindSparseInfo struct {
// ResourceDeviceIndex is a Device index indicating which instance of the resource is bound
ResourceDeviceIndex int
// MemoryDeviceIndex is a Device index indicating which instance of the memory the resource instance is bound to
MemoryDeviceIndex int
common.NextOptions
}
DeviceGroupBindSparseInfo indicates which instances are bound
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDeviceGroupBindSparseInfo.html
type DeviceGroupCommandBufferBeginInfo ¶
type DeviceGroupCommandBufferBeginInfo struct {
// DeviceMask is the initial value of the CommandBuffer object's device mask
DeviceMask uint32
common.NextOptions
}
DeviceGroupCommandBufferBeginInfo sets the initial device mask for a CommandBuffer
type DeviceGroupPresentCapabilities ¶
type DeviceGroupPresentCapabilities struct {
// PresentMask is an array of masks, where the mask at element i is non-zero if PhysicalDevice i
// has a presentation engine, and where bit j is set in element i if PhysicalDevice i can present
// swapchain Image objects from PhysicalDevice j
PresentMask [khr_device_group_creation.MaxDeviceGroupSize]uint32
// Modes indicates which Device group presentation modes are supported
Modes DeviceGroupPresentModeFlags
common.NextOutData
}
DeviceGroupPresentCapabilities returns present capabilities from other PhysicalDevice objects
func (*DeviceGroupPresentCapabilities) PopulateHeader ¶
func (*DeviceGroupPresentCapabilities) PopulateOutData ¶
type DeviceGroupPresentInfo ¶
type DeviceGroupPresentInfo struct {
// DeviceMasks is a slice of Device masks, one for each element of khr_swapchain.PresentInfo.Swapchains
DeviceMasks []uint32
// Mode specifies the Device group present mode that will be used for this present
Mode DeviceGroupPresentModeFlags
common.NextOptions
}
DeviceGroupPresentInfo controls which PhysicalDevice objects' Image objects are presented
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDeviceGroupPresentInfoKHR.html
type DeviceGroupPresentModeFlags ¶
type DeviceGroupPresentModeFlags int32
DeviceGroupPresentModeFlags specifies supported Device group present modes
func (DeviceGroupPresentModeFlags) Register ¶
func (f DeviceGroupPresentModeFlags) Register(str string)
func (DeviceGroupPresentModeFlags) String ¶
func (f DeviceGroupPresentModeFlags) String() string
type DeviceGroupRenderPassBeginInfo ¶
type DeviceGroupRenderPassBeginInfo struct {
// DeviceMask is the deivce mask for the RenderPass instance
DeviceMask uint32
// DeviceRenderAreas is a slice of Rect2D structures defining the render area for each
// PhysicalDevice
DeviceRenderAreas []core1_0.Rect2D
common.NextOptions
}
DeviceGroupRenderPassBeginInfo sets the initial Device mask and render areas for a RenderPass instance
type DeviceGroupSubmitInfo ¶
type DeviceGroupSubmitInfo struct {
// WaitSemaphoreDeviceIndices is a slice of Device indices indicating which PhysicalDevice
// executes the Semaphore wait operation in the corresponding element of SubmitInfo.WaitSemaphores
WaitSemaphoreDeviceIndices []int
// CommandBufferDeviceMasks is a slice of Device masks indicating which PhysicalDevice objects
// execute the CommandBuffer in teh corresponding element of SubmitInfo.CommandBuffers
CommandBufferDeviceMasks []uint32
// SignalSemaphoreDeviceIndices is a slice of Device indices indicating which PhysicalDevice
// executes the Semaphore signal operation in the SubmitInfo.SignalSemaphores
SignalSemaphoreDeviceIndices []int
common.NextOptions
}
DeviceGroupSubmitInfo indicates which PhysicalDevice objects execute Semaphore operations and CommandBuffer objects
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDeviceGroupSubmitInfo.html
type DeviceGroupSwapchainCreateInfo ¶
type DeviceGroupSwapchainCreateInfo struct {
// Modes is a set of modes that the khr_swapchain.Swapchain can be used with
Modes DeviceGroupPresentModeFlags
common.NextOptions
}
DeviceGroupSwapchainCreateInfo specifies parameters of a newly-created khr_swapchain.Swapchain object
type ExtensionDriver ¶
type ExtensionDriver interface {
// CmdDispatchBase dispatches compute work items with non-zero base values for the workgroup IDs
//
// commandBuffer - The CommandBuffer to dispatch the work items on
//
// baseGroupX - The start value of the X component of WorkgroupId
//
// baseGroupY - The start value of the Y component of WorkGroupId
//
// baseGroupZ - The start value of the Z component of WorkGroupId
//
// groupCountX - The number of local workgroups to dispatch in the X dimension
//
// groupCountY - The number of local workgroups to dispatch in the Y dimension
//
// groupCountZ - The number of local workgroups to dispatch in the Z dimension
//
// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdDispatchBase.html
CmdDispatchBase(commandBuffer core1_0.CommandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ int)
// CmdSetDeviceMask modifies the device mask of a CommandBuffer
//
// commandBuffer - The CommandBuffer to set the Device mask on
//
// deviceMask - The new value of the current Device mask
//
// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetDeviceMask.html
CmdSetDeviceMask(commandBuffer core1_0.CommandBuffer, deviceMask uint32)
// GetDeviceGroupPeerMemoryFeatures queries supported peer memory features of a Device
//
// device - The Device to query peer memory features on
//
// heapIndex - The index of the memory heap from which the memory is allocated
//
// localDeviceIndex - The device index of the PhysicalDevice that performs the memory access
//
// remoteDeviceIndex - The device index of the PhysicalDevice that the memory is allocated for
//
// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDeviceGroupPeerMemoryFeatures.html
GetDeviceGroupPeerMemoryFeatures(heapIndex, localDeviceIndex, remoteDeviceIndex int) PeerMemoryFeatureFlags
// WithKHRSurface will return nil if the khr_surface extension is not active, or will return an
// object with additional commands that are available when both khr_device_group and khr_surface are
// both active
WithKHRSurface() ExtensionDriverWithKHRSurface
// WithKHRSwapchain will return nil if the khr_swapchain extension is not active, or will return an
// object with additional commands that are available when both khr_device_group and khr_swapchain are
// both active
WithKHRSwapchain() ExtensionDriverWithKHRSwapchain
}
ExtensionDriver contains all the commands for the khr_device_group extension
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_device_group.html
func CreateExtensionDriverFromCoreDriver ¶
func CreateExtensionDriverFromCoreDriver(coreDriver core1_0.DeviceDriver, instance core1_0.Instance) ExtensionDriver
CreateExtensionDriverFromCoreDriver produces an ExtensionDriver object from a Device with khr_device_group loaded
type ExtensionDriverWithKHRSurface ¶
type ExtensionDriverWithKHRSurface interface {
// GetDeviceGroupPresentCapabilities queries Device group present capabilities for a surface
//
// device - The Device being queried
//
// outData - A pre-allocated object in which the capabilities will be populated. It should include any desired
// chained OutData objects
//
// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDeviceGroupPresentCapabilitiesKHR.html
GetDeviceGroupPresentCapabilities(outData *DeviceGroupPresentCapabilities) (common.VkResult, error)
// GetDeviceGroupSurfacePresentModes queries present capabilities for a khr_surface.Surface
//
// device - The Device being queried
//
// surface - The Surface whose present capabilities are being requested
//
// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDeviceGroupSurfacePresentModesKHR.html
GetDeviceGroupSurfacePresentModes(surface khr_surface.Surface) (DeviceGroupPresentModeFlags, common.VkResult, error)
// GetPhysicalDevicePresentRectangles queries present rectangles for a khr_surface.Surface on a PhysicalDevice
//
// physicalDevice - The PhysicalDevice being queried
//
// surface - The Surface whose present rectangles are being requested
//
// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetPhysicalDevicePresentRectanglesKHR.html
GetPhysicalDevicePresentRectangles(physicalDevice core1_0.PhysicalDevice, surface khr_surface.Surface) ([]core1_0.Rect2D, common.VkResult, error)
}
ExtensionDriverWithKHRSurface contains commands available when both khr_device_group and khr_surface extensions are active
type ExtensionDriverWithKHRSwapchain ¶
type ExtensionDriverWithKHRSwapchain interface {
// AcquireNextImage2 retrieves the index of the next available presentable Image
//
// device - The Device which owns the requested khr_swapchain.Swapchain
//
// o - Contains parameters of the acquire operation
//
// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkAcquireNextImage2KHR.html
AcquireNextImage2(o AcquireNextImageInfo) (int, common.VkResult, error)
}
ExtensionDriverWithKHRSwapchain contains commands available when both khr_device_group and khr_swapchain extensions are active
type ImageSwapchainCreateInfo ¶
type ImageSwapchainCreateInfo struct {
// Swapchain is a khr_swapchain.Swapchain object that the Image will be bound to
Swapchain khr_swapchain.Swapchain
common.NextOptions
}
ImageSwapchainCreateInfo specifies that an Image will be bound to swapchain memory
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkImageSwapchainCreateInfoKHR.html
type MemoryAllocateFlags ¶
type MemoryAllocateFlags int32
MemoryAllocateFlags specifies flags for a DeviceMemory allocation
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkMemoryAllocateFlagBits.html
func (MemoryAllocateFlags) Register ¶
func (f MemoryAllocateFlags) Register(str string)
func (MemoryAllocateFlags) String ¶
func (f MemoryAllocateFlags) String() string
type MemoryAllocateFlagsInfo ¶
type MemoryAllocateFlagsInfo struct {
// Flags controls the allocation
Flags MemoryAllocateFlags
// DeviceMask is a mask of PhysicalDevice objects in the logical Device, indicating that
// memory must be allocated on each Device in the mask, if MemoryAllocateDeviceMask is set
// in flags
DeviceMask uint32
common.NextOptions
}
MemoryAllocateFlagsInfo controls how many instances of memory will be allocated
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkMemoryAllocateFlagsInfoKHR.html
type PeerMemoryFeatureFlags ¶
type PeerMemoryFeatureFlags = core1_1.PeerMemoryFeatureFlags
type VulkanExtensionDriver ¶
type VulkanExtensionDriver struct {
// contains filtered or unexported fields
}
VulkanExtensionDriver is an implementation of the ExtensionDriver interface that actually communicates with Vulkan. This is the default implementation. See the interface for more documentation.
func CreateExtensionDriverFromLoader ¶
func CreateExtensionDriverFromLoader(driver khr_device_group_driver.Loader, device core1_0.Device, khrSurfaceInteraction bool, khrSwapchainInteraction bool) *VulkanExtensionDriver
CreateExtensionDriverFromLoader generates an ExtensionDriver from a loader.Loader object- this is usually used in tests to build an ExtensionDriver from mock drivers
func (*VulkanExtensionDriver) CmdDispatchBase ¶
func (v *VulkanExtensionDriver) CmdDispatchBase(commandBuffer core1_0.CommandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ int)
func (*VulkanExtensionDriver) CmdSetDeviceMask ¶
func (v *VulkanExtensionDriver) CmdSetDeviceMask(commandBuffer core1_0.CommandBuffer, deviceMask uint32)
func (*VulkanExtensionDriver) GetDeviceGroupPeerMemoryFeatures ¶
func (v *VulkanExtensionDriver) GetDeviceGroupPeerMemoryFeatures(heapIndex, localDeviceIndex, remoteDeviceIndex int) PeerMemoryFeatureFlags
func (*VulkanExtensionDriver) WithKHRSurface ¶
func (v *VulkanExtensionDriver) WithKHRSurface() ExtensionDriverWithKHRSurface
WithKHRSurface returns nil if khr_surface is not currently active, or
func (*VulkanExtensionDriver) WithKHRSwapchain ¶
func (v *VulkanExtensionDriver) WithKHRSwapchain() ExtensionDriverWithKHRSwapchain
type VulkanExtensionDriverWithKHRSurface ¶
type VulkanExtensionDriverWithKHRSurface struct {
// contains filtered or unexported fields
}
func (*VulkanExtensionDriverWithKHRSurface) GetDeviceGroupPresentCapabilities ¶
func (v *VulkanExtensionDriverWithKHRSurface) GetDeviceGroupPresentCapabilities(outData *DeviceGroupPresentCapabilities) (common.VkResult, error)
func (*VulkanExtensionDriverWithKHRSurface) GetDeviceGroupSurfacePresentModes ¶
func (v *VulkanExtensionDriverWithKHRSurface) GetDeviceGroupSurfacePresentModes(surface khr_surface.Surface) (DeviceGroupPresentModeFlags, common.VkResult, error)
func (*VulkanExtensionDriverWithKHRSurface) GetPhysicalDevicePresentRectangles ¶
func (v *VulkanExtensionDriverWithKHRSurface) GetPhysicalDevicePresentRectangles(physicalDevice core1_0.PhysicalDevice, surface khr_surface.Surface) ([]core1_0.Rect2D, common.VkResult, error)
type VulkanExtensionDriverWithKHRSwapchain ¶
type VulkanExtensionDriverWithKHRSwapchain struct {
// contains filtered or unexported fields
}
func (*VulkanExtensionDriverWithKHRSwapchain) AcquireNextImage2 ¶
func (v *VulkanExtensionDriverWithKHRSwapchain) AcquireNextImage2(o AcquireNextImageInfo) (int, common.VkResult, error)
Source Files
¶
- const.go
- extension.go
- extiface.go
- options_acquirenextimage.go
- options_allocateflags.go
- options_begin.go
- options_bindbuffermemory.go
- options_bindimagememory.go
- options_bindimagememoryswapchain.go
- options_bindsparse.go
- options_imageswapchaincreate.go
- options_present.go
- options_renderpassbegin.go
- options_submit.go
- options_swapchaincreate.go
- outdata_presentcapabilities.go