Returns the XG_RESOURCE_LAYOUT that was computed for this texture resource.
public:
HRESULT GetResourceLayout(
XG_RESOURCE_LAYOUT *pLayout
)
pLayout
Type: XG_RESOURCE_LAYOUTÂ *
[out] The resource layout that was computed for this texture resource, as a pointer to a XG_RESOURCE_LAYOUT structure.
Type: HRESULTÂ
S_OK if successful; otherwise, an error code.
Header: Declared in xg.h.
Library: Use xg_x.lib.