Documentation
¶
Index ¶
Constants ¶
const ( // ExtensionName is "VK_KHR_maintenance3" // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_maintenance3.html ExtensionName string = C.VK_KHR_MAINTENANCE3_EXTENSION_NAME )
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
func (*PhysicalDeviceMaintenance3Properties) PopulateHeader ¶
func (*PhysicalDeviceMaintenance3Properties) PopulateOutData ¶
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