vkClearShaderInstrumentationMetricsARM(3)

# vkClearShaderInstrumentationMetricsARM(3) Manual Page

## Name

vkClearShaderInstrumentationMetricsARM - Clear shader instrumentation metrics to zero

Loading… please wait.

## C Specification

To clear the value of all metric blocks in an instrumentation object to zero, call:

    // Provided by VK_ARM_shader_instrumentation
    void vkClearShaderInstrumentationMetricsARM(
        VkDevice                                    device,
        VkShaderInstrumentationARM                  instrumentation);

## Parameters

- `device` is the logical device that owns the shader instrumentation object.

- `instrumentation` is the shader instrumentation object to clear.

## Description

Valid Usage (Implicit)

- VUID-vkClearShaderInstrumentationMetricsARM-device-parameter
  `device` must be a valid VkDevice handle

- VUID-vkClearShaderInstrumentationMetricsARM-instrumentation-parameter
  `instrumentation` must be a valid VkShaderInstrumentationARM handle

- VUID-vkClearShaderInstrumentationMetricsARM-instrumentation-parent
  `instrumentation` must have been created, allocated, or retrieved from `device`

## See Also

VK_ARM_shader_instrumentation, VkDevice, VkShaderInstrumentationARM

## Document Notes

For more information, see the Vulkan Specification.

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0