khr_bind_memory2

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

Documentation

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type BindBufferMemoryInfo

type BindBufferMemoryInfo struct {
	Buffer       core1_0.Buffer
	Memory       core1_0.DeviceMemory
	MemoryOffset int

	common.NextOptions
}

func (BindBufferMemoryInfo) PopulateCPointer

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

type BindImageMemoryInfo

type BindImageMemoryInfo struct {
	Image        core1_0.Image
	Memory       core1_0.DeviceMemory
	MemoryOffset uint64

	common.NextOptions
}

func (BindImageMemoryInfo) PopulateCPointer

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

type Extension

type Extension interface {
	BindBufferMemory2(device core1_0.Device, options []BindBufferMemoryInfo) (common.VkResult, error)
	BindImageMemory2(device core1_0.Device, options []BindImageMemoryInfo) (common.VkResult, error)
}

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_bind_memory2_driver.Driver) *VulkanExtension

func (*VulkanExtension) BindBufferMemory2

func (e *VulkanExtension) BindBufferMemory2(device core1_0.Device, options []BindBufferMemoryInfo) (common.VkResult, error)

func (*VulkanExtension) BindImageMemory2

func (e *VulkanExtension) BindImageMemory2(device core1_0.Device, options []BindImageMemoryInfo) (common.VkResult, error)

Directories

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

Jump to

Keyboard shortcuts

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