LPD3DXFILL3D

DirectX8

 
Microsoft DirectX 8.1 (C++)

LPD3DXFILL3D

Function type used by the texture fill functions.

VOID (*LPD3DXFILL3D)(
  D3DXVECTOR4* pOut,
  D3DXVECTOR3* pTexCoord,
  D3DXVECTOR3* pTexelSize,
  LPVOID       pData
  );

Parameters

pOut
[out] Pointer to a vector, which the function uses to return its result. X, Y, Z, and W will be mapped to R, G, B, and A respectively.
pTexCoord
[in] Pointer to a vector containing the coordinates of the texel currently being evaluated. Texture coordinate components for texture and volume textures range from 0 to 1. Texture coordinate components for cube textures range from -1 to 1.
pTexelSize
[in] Pointer to a vector containing the dimensions of the current texel.
pData
[in] Pointer to user data.

Requirements

  Header: Declared in D3dx8tex.h.

See Also

D3DXFillCubeTexture, D3DXFillVolumeTexture