![]() |
![]() |
![]() |
Sets the (u, v) texture coordinates of each texel.
Syntax
HRESULT SetTexelMap(
D3DXVECTOR2 *pTexelData );
Parameters
- pTexelData
- [in] Pointer to the location in pixel (u, v) texture coordinates where each texel is located.
Return Value
If the method succeeds, the return value is S_OK.
If the method fails, the following value will be returned.
D3DERR_INVALIDCALL The method call is invalid. For example, a method's parameter may have an invalid value.