ID3DXTextureGutterHelper::SetTexelMap method

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

Syntax

HRESULT SetTexelMap(
  [in] D3DXVECTOR2 *pTexelData
);

Parameters

pTexelData [in]

Type: D3DXVECTOR2*

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

Return value

Type: HRESULT

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

Requirements

Requirement Value
Header
D3DX9Mesh.h
Library
D3dx9.lib

See also

ID3DXTextureGutterHelper