ext_host_query_reset

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

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

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

func (PhysicalDeviceHostQueryResetFeatures) PopulateCPointer

func (o PhysicalDeviceHostQueryResetFeatures) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (*PhysicalDeviceHostQueryResetFeatures) PopulateHeader

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

func (*PhysicalDeviceHostQueryResetFeatures) PopulateOutData

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

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)

Directories

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

Jump to

Keyboard shortcuts

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