Structures

VkAabbPositionsKHR

Structure specifying two opposing corners of an axis-aligned bounding box

The VkAabbPositionsKHR structure is defined as:

typedef struct VkAabbPositionsKHR {
    float minX;
    float minY;
    float minZ;
    float maxX;
    float maxY;
    float maxZ;
} VkAabbPositionsKHR;

or the equivalent

typedef VkAabbPositionsKHR VkAabbPositionsNV;
  • minX is the x position of one opposing corner of a bounding box.
  • minY is the y position of one opposing corner of a bounding box.
  • minZ is the z position of one opposing corner of a bounding box.
  • maxX is the x position of the other opposing corner of a bounding box.
  • maxY is the y position of the other opposing corner of a bounding box.
  • maxZ is the z position of the other opposing corner of a bounding box.

Valid Usage

VUID-VkAabbPositionsKHR-minX-03546

minX must be less than or equal to maxX

VUID-VkAabbPositionsKHR-minY-03547

minY must be less than or equal to maxY

VUID-VkAabbPositionsKHR-minZ-03548

minZ must be less than or equal to maxZ