# VkTransformMatrixKHR(3) Manual Page

## Name

VkTransformMatrixKHR - Structure specifying a 3x4 affine transformation matrix

Loading… please wait.

## C Specification

The `VkTransformMatrixKHR` structure is defined as:

    // Provided by VK_KHR_acceleration_structure
    typedef struct VkTransformMatrixKHR {
        float    matrix[3][4];
    } VkTransformMatrixKHR;

or the equivalent

    // Provided by VK_NV_ray_tracing
    typedef VkTransformMatrixKHR VkTransformMatrixNV;

## Members

- `matrix` is a 3x4 row-major affine transformation matrix.

## Description

Valid Usage

- VUID-VkTransformMatrixKHR-matrix-03799
  The first three columns of `matrix` must define an invertible 3x3 matrix

## See Also

VK_KHR_acceleration_structure, VK_NV_ray_tracing, VkAccelerationStructureInstanceKHR, VkAccelerationStructureMatrixMotionInstanceNV

## 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-2024 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0