LPD3DXFILL2D
Microsoft DirectX 9.0 SDK Update (October 2004)

LPD3DXFILL2D


Note: This documentation is preliminary and is subject to change.

Function type used by the texture fill functions.

Syntax

typedef VOID (WINAPI *LPD3DXFILL2D)(
    D3DXVECTOR4* pOut, 
    CONST D3DXVECTOR2* pTexCoord, 
    CONST D3DXVECTOR2* pTexelSize, 
    LPVOID pData,  
);

Parameters

pOut - 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 - 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 - Pointer to a vector containing the dimensions of the current texel.

pData - Pointer to user data.

Return Value

No return value.

Remarks

Be sure to specify the WINAPI World Wide Web link calling convention when declaring the callback function. Otherwise, stack overflows can occur.

Headerd3dx9tex.h
Import Libraryd3dx9.lib
Minimum Operating SystemWindows 98

Related Topics



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.