Describes a mip chain in the hardware layout of a texture.
struct XG_PLANE_LAYOUT {
XG_PLANE_USAGE Usage;
UINT64 SizeBytes;
UINT64 BaseOffsetBytes;
UINT64 BaseAlignmentBytes;
UINT32 BytesPerElement;
XG_MIPLEVEL_LAYOUT MipLayout[15];
};
Usage
The plane usage, as an XG_PLANE_USAGE enumeration constant.
SizeBytes
The size, in bytes.
BaseOffsetBytes
The base offset, in bytes.
BaseAlignmentBytes
The base alignment, in bytes.
BytesPerElement
The bytes per element.
MipLayout
The mip level layout, as an array of XG_MIPLEVEL_LAYOUT structures.
This structure is used by the following API items:
Header: Declared in xg.h.
Library: Use xg_x.lib.