XG_SUBRESOURCE_TILING Structure

Controls tiling of subresources.

Syntax

typedef struct XG_SUBRESOURCE_TILING {
    UINT32 WidthInTiles;
    UINT16 HeightInTiles;
    UINT16 DepthInTiles;
    UINT32 StartTileIndexInOverallResource;
} XG_SUBRESOURCE_TILING;  

Members

WidthInTiles
The width, in tiles.

HeightInTiles
The height of the subresource, in tiles.

DepthInTiles
The depth of the subresource, in tiles.

StartTileIndexInOverallResource
The index of the start tile in the overall resource that contains the subresource.

Remarks

This structure is used by the following API items:

Requirements

Header: Declared in xg.h.

Library: Use xg_x.lib.