khr_external_semaphore

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ExtensionName is "VK_KHR_external_semaphore"
	//
	// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_external_semaphore.html
	ExtensionName string = C.VK_KHR_EXTERNAL_SEMAPHORE_EXTENSION_NAME

	// SemaphoreImportTemporary specifies that the Semaphore payload will be imported only
	// temporarily, regardless of the permanence of the handle type
	//
	// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSemaphoreImportFlagBits.html
	SemaphoreImportTemporary SemaphoreImportFlags = C.VK_SEMAPHORE_IMPORT_TEMPORARY_BIT_KHR
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ExportSemaphoreCreateInfo

type ExportSemaphoreCreateInfo struct {
	// HandleTypes specifies one or more Semaphore handle types the application can export
	// from the resulting Semaphore
	HandleTypes khr_external_semaphore_capabilities.ExternalSemaphoreHandleTypeFlags

	common.NextOptions
}

ExportSemaphoreCreateInfo specifies handle types that can be exported from a Semaphore

https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkExportSemaphoreCreateInfo.html

func (ExportSemaphoreCreateInfo) PopulateCPointer

func (o ExportSemaphoreCreateInfo) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

type SemaphoreImportFlags

type SemaphoreImportFlags int32

SemaphoreImportFlags specifies additional parameters of Semaphore payload import

https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSemaphoreImportFlagBits.html

func (SemaphoreImportFlags) Register

func (f SemaphoreImportFlags) Register(str string)

func (SemaphoreImportFlags) String

func (f SemaphoreImportFlags) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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