khr_timeline_semaphore

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: 9 Imported by: 1

Documentation

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Extension

type Extension interface {
	SemaphoreCounterValue(semaphore core1_0.Semaphore) (uint64, common.VkResult, error)
	SignalSemaphore(device core1_0.Device, o SemaphoreSignalInfo) (common.VkResult, error)
	WaitSemaphores(device core1_0.Device, timeout time.Duration, o SemaphoreWaitInfo) (common.VkResult, error)
}

type PhysicalDeviceTimelineSemaphoreFeatures

type PhysicalDeviceTimelineSemaphoreFeatures struct {
	TimelineSemaphore bool

	common.NextOptions
	common.NextOutData
}

func (PhysicalDeviceTimelineSemaphoreFeatures) PopulateCPointer

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

func (*PhysicalDeviceTimelineSemaphoreFeatures) PopulateHeader

func (o *PhysicalDeviceTimelineSemaphoreFeatures) PopulateHeader(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (*PhysicalDeviceTimelineSemaphoreFeatures) PopulateOutData

func (o *PhysicalDeviceTimelineSemaphoreFeatures) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type PhysicalDeviceTimelineSemaphoreProperties

type PhysicalDeviceTimelineSemaphoreProperties struct {
	MaxTimelineSemaphoreValueDifference uint64

	common.NextOutData
}

func (*PhysicalDeviceTimelineSemaphoreProperties) PopulateHeader

func (o *PhysicalDeviceTimelineSemaphoreProperties) PopulateHeader(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (*PhysicalDeviceTimelineSemaphoreProperties) PopulateOutData

func (o *PhysicalDeviceTimelineSemaphoreProperties) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type SemaphoreSignalInfo

type SemaphoreSignalInfo struct {
	Semaphore core1_0.Semaphore
	Value     uint64

	common.NextOptions
}

func (SemaphoreSignalInfo) PopulateCPointer

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

type SemaphoreType

type SemaphoreType int32

func (SemaphoreType) Register

func (e SemaphoreType) Register(str string)

func (SemaphoreType) String

func (e SemaphoreType) String() string

type SemaphoreTypeCreateInfo

type SemaphoreTypeCreateInfo struct {
	SemaphoreType SemaphoreType
	InitialValue  uint64

	common.NextOptions
}

func (SemaphoreTypeCreateInfo) PopulateCPointer

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

type SemaphoreWaitFlags

type SemaphoreWaitFlags int32

func (SemaphoreWaitFlags) Register

func (f SemaphoreWaitFlags) Register(str string)

func (SemaphoreWaitFlags) String

func (f SemaphoreWaitFlags) String() string

type SemaphoreWaitInfo

type SemaphoreWaitInfo struct {
	Flags      SemaphoreWaitFlags
	Semaphores []core1_0.Semaphore
	Values     []uint64

	common.NextOptions
}

func (SemaphoreWaitInfo) PopulateCPointer

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

type TimelineSemaphoreSubmitInfo

type TimelineSemaphoreSubmitInfo struct {
	WaitSemaphoreValues   []uint64
	SignalSemaphoreValues []uint64

	common.NextOptions
}

func (TimelineSemaphoreSubmitInfo) PopulateCPointer

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

type VulkanExtension

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

func CreateExtensionFromDevice

func CreateExtensionFromDevice(device core1_0.Device) *VulkanExtension

func (*VulkanExtension) SemaphoreCounterValue

func (e *VulkanExtension) SemaphoreCounterValue(semaphore core1_0.Semaphore) (uint64, common.VkResult, error)

func (*VulkanExtension) SignalSemaphore

func (e *VulkanExtension) SignalSemaphore(device core1_0.Device, o SemaphoreSignalInfo) (common.VkResult, error)

func (*VulkanExtension) WaitSemaphores

func (e *VulkanExtension) WaitSemaphores(device core1_0.Device, timeout time.Duration, o SemaphoreWaitInfo) (common.VkResult, error)

Directories

Path Synopsis
Package mock_timeline_semaphore is a generated GoMock package.
Package mock_timeline_semaphore is a generated GoMock package.

Jump to

Keyboard shortcuts

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