Documentation
¶
Index ¶
- Constants
- type ExtensionDriver
- type PhysicalDeviceHostQueryResetFeatures
- func (o PhysicalDeviceHostQueryResetFeatures) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, ...) (unsafe.Pointer, error)
- func (o *PhysicalDeviceHostQueryResetFeatures) PopulateHeader(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, ...) (unsafe.Pointer, error)
- func (o *PhysicalDeviceHostQueryResetFeatures) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)
- type VulkanExtensionDriver
Constants ¶
const ( // ExtensionName is "VK_EXT_host_query_reset" // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_host_query_reset.html ExtensionName string = C.VK_EXT_HOST_QUERY_RESET_EXTENSION_NAME )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtensionDriver ¶
type ExtensionDriver interface {
// ResetQueryPool resets queries in the provided core1_0.QueryPool
//
// queryPool - the core1_0.QueryPool to reset
//
// firstQuery - The initial query index to reset
//
// queryCount - The number of queries to reset
//
// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkResetQueryPool.html
ResetQueryPool(queryPool core1_0.QueryPool, firstQuery, queryCount int)
}
ExtensionDriver contains all the commands for the ext_host_query_reset extension
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_host_query_reset.html
func CreateExtensionDriverFromCoreDriver ¶
func CreateExtensionDriverFromCoreDriver(coreDriver core1_0.DeviceDriver) ExtensionDriver
CreateExtensionDriverFromCoreDriver produces an ExtensionDriver object from a Device with ext_host_query_reset loaded
type PhysicalDeviceHostQueryResetFeatures ¶
type PhysicalDeviceHostQueryResetFeatures struct {
// HostQueryReset indicates that hte implementation supports resetting queries from the host
// with QueryPool.Reset
HostQueryReset bool
common.NextOptions
common.NextOutData
}
PhysicalDeviceHostQueryResetFeatures describes whether queries can be reset from the host
func (PhysicalDeviceHostQueryResetFeatures) PopulateCPointer ¶
func (*PhysicalDeviceHostQueryResetFeatures) PopulateHeader ¶
func (*PhysicalDeviceHostQueryResetFeatures) 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 ext_host_query_reset_driver.Loader) *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) ResetQueryPool ¶
func (e *VulkanExtensionDriver) ResetQueryPool(queryPool core1_0.QueryPool, firstQuery, queryCount int)