Documentation ¶
Index ¶
- Constants
- type Extension
- type PhysicalDeviceTimelineSemaphoreFeatures
- func (o PhysicalDeviceTimelineSemaphoreFeatures) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, ...) (unsafe.Pointer, error)
- func (o *PhysicalDeviceTimelineSemaphoreFeatures) PopulateHeader(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, ...) (unsafe.Pointer, error)
- func (o *PhysicalDeviceTimelineSemaphoreFeatures) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)
- type PhysicalDeviceTimelineSemaphoreProperties
- func (o *PhysicalDeviceTimelineSemaphoreProperties) PopulateHeader(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, ...) (unsafe.Pointer, error)
- func (o *PhysicalDeviceTimelineSemaphoreProperties) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)
- type SemaphoreSignalInfo
- type SemaphoreType
- type SemaphoreTypeCreateInfo
- type SemaphoreWaitFlags
- type SemaphoreWaitInfo
- type TimelineSemaphoreSubmitInfo
- type VulkanExtension
- func (e *VulkanExtension) SemaphoreCounterValue(semaphore core1_0.Semaphore) (uint64, common.VkResult, error)
- func (e *VulkanExtension) SignalSemaphore(device core1_0.Device, o SemaphoreSignalInfo) (common.VkResult, error)
- func (e *VulkanExtension) WaitSemaphores(device core1_0.Device, timeout time.Duration, o SemaphoreWaitInfo) (common.VkResult, error)
Constants ¶
View Source
const ( ExtensionName string = C.VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME SemaphoreTypeBinary SemaphoreType = C.VK_SEMAPHORE_TYPE_BINARY_KHR SemaphoreTypeTimeline SemaphoreType = C.VK_SEMAPHORE_TYPE_TIMELINE_KHR SemaphoreWaitAny SemaphoreWaitFlags = C.VK_SEMAPHORE_WAIT_ANY_BIT_KHR )
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 (*PhysicalDeviceTimelineSemaphoreFeatures) PopulateHeader ¶
func (*PhysicalDeviceTimelineSemaphoreFeatures) PopulateOutData ¶
type PhysicalDeviceTimelineSemaphoreProperties ¶
type PhysicalDeviceTimelineSemaphoreProperties struct { MaxTimelineSemaphoreValueDifference uint64 common.NextOutData }
func (*PhysicalDeviceTimelineSemaphoreProperties) PopulateHeader ¶
func (*PhysicalDeviceTimelineSemaphoreProperties) PopulateOutData ¶
type SemaphoreSignalInfo ¶
type SemaphoreSignalInfo struct { Semaphore core1_0.Semaphore Value uint64 common.NextOptions }
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 }
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 }
type TimelineSemaphoreSubmitInfo ¶
type TimelineSemaphoreSubmitInfo struct { WaitSemaphoreValues []uint64 SignalSemaphoreValues []uint64 common.NextOptions }
type VulkanExtension ¶
type VulkanExtension struct {
// contains filtered or unexported fields
}
func CreateExtensionFromDevice ¶
func CreateExtensionFromDevice(device core1_0.Device) *VulkanExtension
func CreateExtensionFromDriver ¶
func CreateExtensionFromDriver(driver khr_timeline_semaphore_driver.Driver) *VulkanExtension
func (*VulkanExtension) SemaphoreCounterValue ¶
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)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.