Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ExtensionName is "VK_KHR_external_memory" ExtensionName string = C.VK_KHR_EXTERNAL_MEMORY_EXTENSION_NAME // QueueFamilyExternal represents any Queue external to the resource's current Vulkan instance, // as long as the Queue uses the same underlying Device group or PhysicalDevice // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_QUEUE_FAMILY_EXTERNAL_KHR.html QueueFamilyExternal int = C.VK_QUEUE_FAMILY_EXTERNAL_KHR // VkErrorInvalidExternalHandle indicates an external handle is not a valid handle // of the specified type // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkResult.html VkErrorInvalidExternalHandle common.VkResult = C.VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExportMemoryAllocateInfo ¶
type ExportMemoryAllocateInfo struct {
// HandleTypes specifies one or more memory handle types the application can export from
// the resulting allocation
HandleTypes khr_external_memory_capabilities.ExternalMemoryHandleTypeFlags
common.NextOptions
}
ExportMemoryAllocateInfo specifies exportable handle types for a DeviceMemory object
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkExportMemoryAllocateInfo.html
func (ExportMemoryAllocateInfo) PopulateCPointer ¶
func (ExportMemoryAllocateInfo) PopulateOutData ¶
type ExternalMemoryBufferCreateInfo ¶
type ExternalMemoryBufferCreateInfo struct {
// HandleTypes specifies one or more external memory handle types
HandleTypes khr_external_memory_capabilities.ExternalMemoryHandleTypeFlags
common.NextOptions
}
ExternalMemoryBufferCreateInfo specifies that a Buffer may be backed by external memory
func (ExternalMemoryBufferCreateInfo) PopulateCPointer ¶
func (ExternalMemoryBufferCreateInfo) PopulateOutData ¶
type ExternalMemoryImageCreateInfo ¶
type ExternalMemoryImageCreateInfo struct {
// HandleTypes specifies one or more external memory handle types
HandleTypes khr_external_memory_capabilities.ExternalMemoryHandleTypeFlags
common.NextOptions
}
ExternalMemoryImageCreateInfo specifies that an Image may be backed by external memory
func (ExternalMemoryImageCreateInfo) PopulateCPointer ¶
func (ExternalMemoryImageCreateInfo) PopulateOutData ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.