Documentation
¶
Index ¶
- Constants
- type Extension
- 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 VulkanExtension
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 Extension ¶
type Extension 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) }
Extension 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
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 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 ext_host_query_reset loaded
func CreateExtensionFromDriver ¶
func CreateExtensionFromDriver(driver ext_host_query_reset_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) ResetQueryPool ¶
func (e *VulkanExtension) ResetQueryPool(queryPool core1_0.QueryPool, firstQuery, queryCount int)