khr_bind_memory2_shim

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shim

type Shim interface {
	// BindBufferMemory2 binds DeviceMemory to Buffer objects
	//
	// options - A slice of BindBufferMemoryInfo structures describing Buffer objects and memory to bind
	//
	// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkBindBufferMemory2.html
	BindBufferMemory2(options []core1_1.BindBufferMemoryInfo) (common.VkResult, error)
	// BindImageMemory2 binds DeviceMemory to Image objects
	//
	// options - A slice of BindImageMemoryInfo structures describing Image objects and memory to bind
	//
	// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkBindImageMemory2.html
	BindImageMemory2(options []core1_1.BindImageMemoryInfo) (common.VkResult, error)
}

type VulkanShim

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

func NewShim

func NewShim(device core1_0.Device, extension khr_bind_memory2.Extension) *VulkanShim

func (*VulkanShim) BindBufferMemory2

func (s *VulkanShim) BindBufferMemory2(options []core1_1.BindBufferMemoryInfo) (common.VkResult, error)

func (*VulkanShim) BindImageMemory2

func (s *VulkanShim) BindImageMemory2(options []core1_1.BindImageMemoryInfo) (common.VkResult, error)

Jump to

Keyboard shortcuts

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