C Specification

The XrWindingOrderANDROID enumeration identifies the winding order of a mesh’s triangles, used by the runtime for backface culling when rendering the mesh of the passthrough layer.

// Provided by XR_ANDROID_composition_layer_passthrough_mesh
typedef enum XrWindingOrderANDROID {
    XR_WINDING_ORDER_UNKNOWN_ANDROID = 0,
    XR_WINDING_ORDER_CW_ANDROID = 1,
    XR_WINDING_ORDER_CCW_ANDROID = 2,
    XR_WINDING_ORDER_MAX_ENUM_ANDROID = 0x7FFFFFFF
} XrWindingOrderANDROID;

Description

Enumerant Descriptions
  • XR_WINDING_ORDER_UNKNOWN_ANDROID  — Winding order of the mesh’s triangles is not known.

  • XR_WINDING_ORDER_CW_ANDROID  — Winding order of the mesh’s triangles is clockwise.

  • XR_WINDING_ORDER_CCW_ANDROID  — Winding order of the mesh’s triangles is counter-clockwise.

See Also

Document Notes

For more information, see the OpenXR Specification

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

Copyright 2014-2026 The Khronos Group Inc.