khr_maintenance3

package
v3.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type DescriptorSetLayoutSupport

type DescriptorSetLayoutSupport = core1_1.DescriptorSetLayoutSupport

type ExtensionDriver

type ExtensionDriver interface {
	// DescriptorSetLayoutSupport queries whether a DescriptorSetLayout can be created
	//
	// setLayoutOptions - Specifies the state of the DescriptorSetLayout object
	//
	// outData - A pre-allocated object in which information about support for the DescriptorSetLayout
	// object will be populated. It should include any desired chained OutData objects
	//
	// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDescriptorSetLayoutSupport.html
	DescriptorSetLayoutSupport(setLayoutOptions core1_0.DescriptorSetLayoutCreateInfo, outData *DescriptorSetLayoutSupport) error
}

ExtensionDriver contains all commands for the khr_maintenance3 extension

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

func CreateExtensionDriverFromCoreDriver

func CreateExtensionDriverFromCoreDriver(driver core1_0.DeviceDriver) ExtensionDriver

CreateExtensionDriverFromCoreDriver produces an ExtensionDriver object from a Device with khr_maintenance3 loaded

type PhysicalDeviceMaintenance3Properties

type PhysicalDeviceMaintenance3Properties struct {
	// MaxPerSetDescriptors is a maximum number of descriptors in a single DescriptorSet that is
	// guaranteed to satisfy any implementation-dependent constraints on the size of a
	// DescriptorSet itself
	MaxPerSetDescriptors int
	// MaxMemoryAllocationSize is the maximum size of a memory allocation that can be created,
	// even if the is more space available in the heap
	MaxMemoryAllocationSize int

	common.NextOutData
}

PhysicalDeviceMaintenance3Properties describes DescriptorSet properties

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

func (*PhysicalDeviceMaintenance3Properties) PopulateHeader

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

func (*PhysicalDeviceMaintenance3Properties) PopulateOutData

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

type VulkanExtensionDriver

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

VulkanExtensionDriver is an implementation of the ExtensionDriver interface that actually communicates with Vulkan. This is the default implementation. See the interface for more documentation.

func CreateExtensionDriverFromLoader

func CreateExtensionDriverFromLoader(driver khr_maintenance3_loader.Loader, device core1_0.Device) *VulkanExtensionDriver

CreateExtensionDriverFromLoader generates an ExtensionDriver from a loader.Loader object- this is usually used in tests to build an ExtensionDriver from mock drivers

func (*VulkanExtensionDriver) DescriptorSetLayoutSupport

func (e *VulkanExtensionDriver) DescriptorSetLayoutSupport(setLayoutOptions core1_0.DescriptorSetLayoutCreateInfo, support *DescriptorSetLayoutSupport) error

Directories

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

Jump to

Keyboard shortcuts

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