XGTextureAddressComputer::GetResourceLayout Method

Returns the XG_RESOURCE_LAYOUT that was computed for this texture resource.

Syntax

public:
HRESULT GetResourceLayout(
         XG_RESOURCE_LAYOUT *pLayout
)  

Parameters

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.

Return value

Type: HRESULT 

S_OK if successful; otherwise, an error code.

Requirements

Header: Declared in xg.h.

Library: Use xg_x.lib.

See also

XGTextureAddressComputer

XGTextureAddressComputer Members