Creates a texture address computer object for the given 1D texture desc.
HRESULT XGCreateTexture1DComputer(
const XG_TEXTURE1D_DESC *pDesc,
XGTextureAddressComputer **ppComputer
)
pDesc
Type: XG_TEXTURE1D_DESC *
[in] A description of a 1D texture, as a pointer to an XG_TEXTURE1D_DESC structure.
ppComputer
Type: XGTextureAddressComputer **
[out] A computed texture layout, as a pointer to an XGTextureAddressComputer structure.
Type: HRESULT
S_OK if successful; otherwise, an error code.
Returns E_INVALIDARG in the following cases:
Header: Declared in xg.h.
Library: Use xg_x.lib.