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 struct {
// Supported specifies whether the DescriptorSetLayout can be created
Supported bool
common.NextOutData
}
DescriptorSetLayoutSupport returns information about whether a DescriptorSetLayout can be supported
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDescriptorSetLayoutSupport.html
func (*DescriptorSetLayoutSupport) PopulateHeader ¶
func (*DescriptorSetLayoutSupport) PopulateOutData ¶
type Extension ¶
type Extension interface {
// DescriptorSetLayoutSupport queries whether a DescriptorSetLayout can be created
//
// device - The Device which will be used to create the DescriptorSetLayout
//
// 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(device core1_0.Device, setLayoutOptions core1_0.DescriptorSetLayoutCreateInfo, outData *DescriptorSetLayoutSupport) error
}
Extension contains all commands for the khr_maintenance3 extension
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_maintenance3.html
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 VulkanExtension ¶
type VulkanExtension struct {
// contains filtered or unexported fields
}
VulkanExtension is an implementation of the Extension interface that actually communicates with Vulkan. This is the default implementation. See the interface for more documentation.
func CreateExtensionFromDevice ¶
func CreateExtensionFromDevice(device core1_0.Device) *VulkanExtension
CreateExtensionFromDevice produces an Extension object from a Device with khr_maintenance3 loaded
func CreateExtensionFromDriver ¶
func CreateExtensionFromDriver(driver khr_maintenance3_driver.Driver) *VulkanExtension
CreateExtensionFromDriver generates an Extension from a driver.Driver object- this is usually used in tests to build an Extension from mock drivers
func (*VulkanExtension) DescriptorSetLayoutSupport ¶
func (e *VulkanExtension) DescriptorSetLayoutSupport(device core1_0.Device, setLayoutOptions core1_0.DescriptorSetLayoutCreateInfo, support *DescriptorSetLayoutSupport) error