ID3DXTextureGutterHelper::SetTexelMap

Sets the (u, v) texture coordinates of each texel.

HRESULT SetTexelMap(
  D3DXVECTOR2 * pTexelData
);

Parameters

pTexelData
[in] Pointer to the location in pixel (u, v) texture coordinates where each texel is located.

Return Values

If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned.

D3DERR_INVALIDCALL

Requirements

Header: Declared in D3dx9mesh.h.